Fixed: Showing the progress update when no wifi is available.

This commit is contained in:
MohitMaliFtechiz 2024-09-18 22:02:20 +05:30
parent 098deb10f1
commit 61661a5aa0

View File

@ -337,6 +337,10 @@ class OnlineLibraryFragment : BaseFragment(), FragmentActivityExtensions {
refreshFragment()
} else if (noWifiWithWifiOnlyPreferenceSet) {
hideRecyclerviewAndShowSwipeDownForLibraryErrorText()
} else if (!noWifiWithWifiOnlyPreferenceSet) {
if (libraryAdapter.items.isEmpty()) {
showProgressBarOfFetchingOnlineLibrary()
}
}
}