fixed bug where app will close if all media containing folders are excluded and view mode is changed to "show all folders content"

This commit is contained in:
Brian Floersch 2018-01-15 15:39:54 -05:00
parent f3eb723ab0
commit ec6a9b95f8
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener {
}
private fun setupAdapter() {
if (isDirEmpty()) {
if (!mShowAll && isDirEmpty()) {
return
}