diff options
author | Allan Wang <me@allanwang.ca> | 2019-09-29 03:41:31 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-09-29 03:41:31 -0700 |
commit | a92de953614479329ab00a3ffc75d5e490e09974 (patch) | |
tree | ee985883f496f8607a6bb2f72c0f961d11537932 /app/src/main/kotlin | |
parent | c17a6a3df40d2985bec9e8b58802cf7f65281b4e (diff) | |
download | frost-a92de953614479329ab00a3ffc75d5e490e09974.tar.gz frost-a92de953614479329ab00a3ffc75d5e490e09974.tar.bz2 frost-a92de953614479329ab00a3ffc75d5e490e09974.zip |
Disable refresh for all soft composer urls
Diffstat (limited to 'app/src/main/kotlin')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt index ab7ee087..c4be6972 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt @@ -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 } |