aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--app/src/main/kotlin/com/pitchedapps/frost/web/FrostWebViewClients.kt3
-rw-r--r--app/src/main/play/en-US/whatsnew2
2 files changed, 3 insertions, 2 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()
}
diff --git a/app/src/main/play/en-US/whatsnew b/app/src/main/play/en-US/whatsnew
index 2c68cc55..02fdef9b 100644
--- a/app/src/main/play/en-US/whatsnew
+++ b/app/src/main/play/en-US/whatsnew
@@ -3,4 +3,4 @@ v2.4.1
* Add better support for mobile url conversions
* Notification tab will keep first page in the same window; fixes marking notifications as read
* Fix nav and status bar icon colors for custom themes (Android O+)
-* Fix biometric prompt, and prompt on activity resume \ No newline at end of file
+* Fix biometric prompt, and prompt on activity resume