Merge pull request #579 from gh123man/gh123man/fixCloseIfAllFoldersExcluded

fixed bug where app will close if all media is missing or excluded
This commit is contained in:
Tibor Kaputa 2018-01-15 22:18:44 +01:00 committed by GitHub
commit fe07154b97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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