mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 06:42:21 -04:00
Merge pull request #3748 from kiwix/Fix#3746
Fixed: ZIM file is not deleting from LocalLibraryFragment if we do not have the storage permission in non-playstore variant, which is fine but it should ask permission.
This commit is contained in:
commit
341ce65f7b
@ -152,7 +152,13 @@ class LocalLibraryFragment : BaseFragment() {
|
||||
offerAction(RequestNavigateTo(it))
|
||||
}
|
||||
},
|
||||
{ offerAction(RequestMultiSelection(it)) },
|
||||
{
|
||||
if (!requireActivity().isManageExternalStoragePermissionGranted(sharedPreferenceUtil)) {
|
||||
showManageExternalStoragePermissionDialog()
|
||||
} else {
|
||||
offerAction(RequestMultiSelection(it))
|
||||
}
|
||||
},
|
||||
{ offerAction(RequestSelect(it)) }
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user