mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-04 03:06:41 -04:00
Showing the progress below the online library downloading status text.
This commit is contained in:
parent
476733bf91
commit
93fad4da97
@ -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)
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user