fix #989, rescan unhidden folders in the mediastore
This commit is contained in:
parent
944372deda
commit
d0f580dec7
|
@ -149,6 +149,7 @@ fun BaseSimpleActivity.removeNoMedia(path: String, callback: (() -> Unit)? = nul
|
||||||
}
|
}
|
||||||
|
|
||||||
tryDeleteFileDirItem(file.toFileDirItem(applicationContext), false, false) {
|
tryDeleteFileDirItem(file.toFileDirItem(applicationContext), false, false) {
|
||||||
|
scanPathRecursively(file.parent)
|
||||||
callback?.invoke()
|
callback?.invoke()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue