2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-05 21:20:45 +00:00

For #13940: Pull To Refresh View Causes Throbber Downloads

This commit is contained in:
Kate Glazko 2020-08-19 16:02:43 -07:00 committed by kglazko
parent e4e16bc445
commit 751efb7bfb

View File

@ -56,8 +56,7 @@ class DownloadView(
fun update(state: DownloadFragmentState) {
view.swipe_refresh.isEnabled =
state.mode === DownloadFragmentState.Mode.Normal
view.swipe_refresh.isEnabled = false
mode = state.mode
updateEmptyState(state.items.isNotEmpty())