do not show the No Media placeholders at first run
This commit is contained in:
parent
24f14fffc4
commit
49b1a24089
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue