Skip to content

Commit

Permalink
fix: Don't ask for all files access
Browse files Browse the repository at this point in the history
  • Loading branch information
null2264 authored May 27, 2024
1 parent f870825 commit b20d4a2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ class Downloader(
notifier.onError(context.getString(R.string.couldnt_download_low_space), chapName)
return
}
/*
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R &&
!Environment.isExternalStorageManager()
) {
Expand All @@ -351,6 +352,7 @@ class Downloader(
)
return
}
*/
val chapterDirname = provider.getChapterDirName(download.chapter)
val tmpDir = mangaDir.createDirectory(chapterDirname + TMP_DIR_SUFFIX)!!

Expand Down

0 comments on commit b20d4a2

Please sign in to comment.