mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 04:57:59 +01:00
do not show the No Media placeholders at first run
This commit is contained in:
parent
24f14fffc4
commit
49b1a24089
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue