Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
Disable refresh for all soft composer urls
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanWang committed Sep 29, 2019
1 parent c17a6a3 commit a92de95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ open class FrostWebViewClient(val web: FrostWebView) : BaseWebViewClient() {
private fun urlSupportsRefresh(url: String?): Boolean {
if (url == null) return false
if (!url.isFacebookUrl) return true
if (url == "$FB_URL_BASE?soft=composer") return false
if (url.contains("soft=composer")) return false
if (url.contains("sharer.php") || url.contains("sharer-dialog.php")) return false
return true
}
Expand Down

0 comments on commit a92de95

Please sign in to comment.