aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-09-29 01:54:47 -0700
committerGitHub <noreply@github.com>2019-09-29 01:54:47 -0700
commitc8b32c0b37e0aae1a6df607806c6511ed91082f8 (patch)
tree351d4ce7691f4934bdfb3346467d6fadf788933c /app/src/main/kotlin
parent356a67d184ac82831d77221a84215d3ec87e177d (diff)
parentd96925128fc04046d6c8f3e27d55ff605f83435d (diff)
downloadfrost-c8b32c0b37e0aae1a6df607806c6511ed91082f8.tar.gz
frost-c8b32c0b37e0aae1a6df607806c6511ed91082f8.tar.bz2
frost-c8b32c0b37e0aae1a6df607806c6511ed91082f8.zip
Merge pull request #1562 from AllanWang/message-scroll
Add braces to message scroll
Diffstat (limited to 'app/src/main/kotlin')
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt3
1 files changed, 2 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 a7e642b1..f6279611 100644
--- a/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
+++ b/app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt
@@ -133,8 +133,9 @@ open class FrostWebViewClient(val web: FrostWebView) : BaseWebViewClient() {
}
internal open fun onPageFinishedActions(url: String) {
- if (url.startsWith("${FbItem.MESSAGES.url}/read/") && Prefs.messageScrollToBottom)
+ if (url.startsWith("${FbItem.MESSAGES.url}/read/") && Prefs.messageScrollToBottom) {
web.pageDown(true)
+ }
injectAndFinish()
}