mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 00:17:58 +01:00
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:
commit
fe07154b97
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun setupAdapter() {
|
private fun setupAdapter() {
|
||||||
if (isDirEmpty()) {
|
if (!mShowAll && isDirEmpty()) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue