mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Improved some code.
This commit is contained in:
parent
9f6184bbd0
commit
8f7ca9f6c7
@ -407,7 +407,7 @@ class LocalLibraryFragment : BaseFragment(), CopyMoveFileHandler.FileCopyMoveCal
|
||||
}
|
||||
}
|
||||
|
||||
private fun handleSelectedFileUri(uri: Uri) {
|
||||
fun handleSelectedFileUri(uri: Uri) {
|
||||
if (sharedPreferenceUtil.isPlayStoreBuildWithAndroid11OrAbove()) {
|
||||
val documentFile = when (uri.scheme) {
|
||||
"file" -> DocumentFile.fromFile(File("$uri"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user