mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 15:27:55 -04:00
Fixed: Showing the progress update when no wifi is available.
This commit is contained in:
parent
098deb10f1
commit
61661a5aa0
@ -337,6 +337,10 @@ class OnlineLibraryFragment : BaseFragment(), FragmentActivityExtensions {
|
|||||||
refreshFragment()
|
refreshFragment()
|
||||||
} else if (noWifiWithWifiOnlyPreferenceSet) {
|
} else if (noWifiWithWifiOnlyPreferenceSet) {
|
||||||
hideRecyclerviewAndShowSwipeDownForLibraryErrorText()
|
hideRecyclerviewAndShowSwipeDownForLibraryErrorText()
|
||||||
|
} else if (!noWifiWithWifiOnlyPreferenceSet) {
|
||||||
|
if (libraryAdapter.items.isEmpty()) {
|
||||||
|
showProgressBarOfFetchingOnlineLibrary()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user