mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-04-20 19:12:04 +00:00
add .nomedia for Android
This commit is contained in:
parent
e57ed90346
commit
14aabfc5f3
1 changed files with 6 additions and 0 deletions
|
|
@ -90,6 +90,12 @@ class _ChapterPageDownloadState extends ConsumerState<ChapterPageDownload>
|
|||
if (!(await path1.exists())) {
|
||||
path1.create();
|
||||
}
|
||||
if (Platform.isAndroid) {
|
||||
if (!(await File("${path1.path}" ".nomedia").exists())) {
|
||||
File("${path1.path}" ".nomedia").create();
|
||||
}
|
||||
}
|
||||
|
||||
if (!(await path2.exists())) {
|
||||
path2.create();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue