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…
Reference in New Issue