do not show the No Media placeholders at first run

This commit is contained in:
tibbi 2018-04-24 09:30:51 +02:00
parent 24f14fffc4
commit 49b1a24089
1 changed files with 2 additions and 2 deletions

View File

@ -553,8 +553,8 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
var isPlaceholderVisible = dirs.isEmpty()
runOnUiThread {
directories_empty_text_label.beVisibleIf(dirs.isEmpty())
directories_empty_text.beVisibleIf(dirs.isEmpty())
directories_empty_text_label.beVisibleIf(dirs.isEmpty() && config.appRunCount > 1)
directories_empty_text.beVisibleIf(dirs.isEmpty() && config.appRunCount > 1)
directories_grid.beVisibleIf(directories_empty_text_label.isGone())
val allowHorizontalScroll = config.scrollHorizontally && config.viewTypeFiles == VIEW_TYPE_GRID