[fenix] For https://github.com/mozilla-mobile/fenix/issues/13940: Pull To Refresh View Causes Throbber Downloads

pull/600/head
Kate Glazko 4 years ago committed by kglazko
parent 8a92c45d29
commit 51f2750a76

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

Loading…
Cancel
Save