fix: offline mode failing
This commit is contained in:
parent
ea29449413
commit
7ca44480a9
6 changed files with 28 additions and 8 deletions
|
@ -65,7 +65,7 @@ class StoragePermissions {
|
|||
force: Boolean = false,
|
||||
complete: (Boolean) -> Unit
|
||||
) {
|
||||
if ((PrefManager.getVal<String>(PrefName.DownloadsDir).isNotEmpty() || hasDirAccess(this)) && !force) {
|
||||
if (hasDirAccess(this) && !force) {
|
||||
complete(true)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue