mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
do not rescan the folder after removing nomedia
This commit is contained in:
@ -235,9 +235,7 @@ fun SimpleActivity.addNoMedia(path: String, callback: () -> Unit) {
|
||||
fun SimpleActivity.removeNoMedia(path: String, callback: () -> Unit) {
|
||||
val file = File(path, NOMEDIA)
|
||||
deleteFile(file) {
|
||||
scanFile(File(path)) {
|
||||
callback()
|
||||
}
|
||||
callback()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user