diff options
author | Allan Wang <me@allanwang.ca> | 2021-01-12 22:32:23 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2021-01-12 22:32:23 -0800 |
commit | ce9e44a742638eaaad5833f39d394535ddfd67a2 (patch) | |
tree | dfc733feca96cb412b9d12c52d5ae112cc0513c4 /app/src/main/kotlin | |
parent | c0eeb83cfc8e5021f3a7904d8cc7b33d07cd92ea (diff) | |
download | frost-ce9e44a742638eaaad5833f39d394535ddfd67a2.tar.gz frost-ce9e44a742638eaaad5833f39d394535ddfd67a2.tar.bz2 frost-ce9e44a742638eaaad5833f39d394535ddfd67a2.zip |
Disable swipe refresh for messenger
Diffstat (limited to 'app/src/main/kotlin')
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt | 1 |
1 files changed, 1 insertions, 0 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 7a7bc293..99473a11 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt @@ -95,6 +95,7 @@ open class FrostWebViewClient(val web: FrostWebView) : BaseWebViewClient() { private fun urlSupportsRefresh(url: String?): Boolean { if (url == null) return false + if (url.isMessengerUrl) return false if (!url.isFacebookUrl) return true if (url.contains("soft=composer")) return false if (url.contains("sharer.php") || url.contains("sharer-dialog.php")) return false |