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:
commit
c8b32c0b37
@ -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()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user