diff options
author | Allan Wang <me@allanwang.ca> | 2019-09-29 00:46:18 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-09-29 00:46:18 -0700 |
commit | 6aa3b49be7c37d1790dd42a4a7066a8685a34c48 (patch) | |
tree | 91bc73b1011c7e14a5f4ef530d41b69887972505 /app/src/main/kotlin/com/pitchedapps | |
parent | c9fec8cc993f159eb81803e8c0cd5855d2a9abd3 (diff) | |
download | frost-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.kt | 3 |
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() } |