Showing the progress below the online library downloading status text.

This commit is contained in:
MohitMaliFtechiz 2024-09-18 21:16:33 +05:30
parent 476733bf91
commit 93fad4da97
2 changed files with 2 additions and 2 deletions

View File

@ -193,8 +193,8 @@ class OnlineLibraryFragment : BaseFragment(), FragmentActivityExtensions {
viewLifecycleOwner viewLifecycleOwner
) { ) {
if (it && !NetworkUtils.isWiFi(requireContext())) { if (it && !NetworkUtils.isWiFi(requireContext())) {
hideProgressBarOfFetchingOnlineLibrary()
showInternetAccessViaMobileNetworkDialog() showInternetAccessViaMobileNetworkDialog()
hideProgressBarOfFetchingOnlineLibrary()
} }
} }
zimManageViewModel.downloadProgress.observe(viewLifecycleOwner, ::onLibraryStatusChanged) zimManageViewModel.downloadProgress.observe(viewLifecycleOwner, ::onLibraryStatusChanged)

View File

@ -351,7 +351,7 @@
<string name="reaching_remote_library">Reaching remote library</string> <string name="reaching_remote_library">Reaching remote library</string>
<string name="parsing_remote_library">Parsing remote library</string> <string name="parsing_remote_library">Parsing remote library</string>
<string name="starting_downloading_remote_library">Starting download of the online library</string> <string name="starting_downloading_remote_library">Starting download of the online library</string>
<string name="downloading_library">Downloading library %s</string> <string name="downloading_library">Downloading library \n%s</string>
<string-array name="pref_dark_modes_entries"> <string-array name="pref_dark_modes_entries">
<item>@string/on</item> <item>@string/on</item>
<item>@string/off</item> <item>@string/off</item>