mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
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:
@ -262,7 +262,7 @@ class MediaActivity : SimpleActivity(), MediaAdapter.MediaOperationsListener {
|
||||
}
|
||||
|
||||
private fun setupAdapter() {
|
||||
if (isDirEmpty()) {
|
||||
if (!mShowAll && isDirEmpty()) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user