fix #989, rescan unhidden folders in the mediastore

This commit is contained in:
tibbi 2018-12-17 15:05:34 +01:00
parent 944372deda
commit d0f580dec7
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ fun BaseSimpleActivity.removeNoMedia(path: String, callback: (() -> Unit)? = nul
}
tryDeleteFileDirItem(file.toFileDirItem(applicationContext), false, false) {
scanPathRecursively(file.parent)
callback?.invoke()
}
}