mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-28 02:31:02 +00:00
fix: offline mode failing
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user