make sure to rescan a folder after deleting .nomedia file
This commit is contained in:
parent
e37f42a93c
commit
22cfd20b58
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue