mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-02 12:36:43 +01:00
make sure to rescan a folder after deleting .nomedia file
This commit is contained in:
parent
e37f42a93c
commit
22cfd20b58
@ -173,6 +173,8 @@ fun BaseSimpleActivity.removeNoMedia(path: String, callback: (() -> Unit)? = nul
|
||||
|
||||
tryDeleteFileDirItem(file.toFileDirItem(applicationContext), false, false) {
|
||||
callback?.invoke()
|
||||
deleteFromMediaStore(file.absolutePath)
|
||||
rescanFolderMedia(path)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user