aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/com/pitchedapps
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-09-29 00:46:18 -0700
committerAllan Wang <me@allanwang.ca>2019-09-29 00:46:18 -0700
commit6aa3b49be7c37d1790dd42a4a7066a8685a34c48 (patch)
tree91bc73b1011c7e14a5f4ef530d41b69887972505 /app/src/main/kotlin/com/pitchedapps
parentc9fec8cc993f159eb81803e8c0cd5855d2a9abd3 (diff)
downloadfrost-6aa3b49be7c37d1790dd42a4a7066a8685a34c48.tar.gz
frost-6aa3b49be7c37d1790dd42a4a7066a8685a34c48.tar.bz2
frost-6aa3b49be7c37d1790dd42a4a7066a8685a34c48.zip
Add braces
Diffstat (limited to 'app/src/main/kotlin/com/pitchedapps')
-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()
}