1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-11-12 22:12:36 +01:00

Merge pull request #1562 from AllanWang/message-scroll

Add braces to message scroll
This commit is contained in:
Allan Wang 2019-09-29 01:54:47 -07:00 committed by GitHub
commit c8b32c0b37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -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()
}