mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-02-17 04:10:39 +01:00
avoid showing Root initially at the top breadcrumb at app launch
This commit is contained in:
parent
0dcc6f4da1
commit
2fe8c6564a
@ -68,7 +68,6 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
||||
items_swipe_refresh.setOnRefreshListener { refreshItems() }
|
||||
items_fab.setOnClickListener { createNewItem() }
|
||||
breadcrumbs.listener = this@ItemsFragment
|
||||
breadcrumbs.updateFontSize(context!!.getTextSize())
|
||||
}
|
||||
}
|
||||
|
||||
@ -174,6 +173,10 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
||||
}
|
||||
|
||||
storedItems = items
|
||||
if (items_list.adapter == null) {
|
||||
breadcrumbs.updateFontSize(context!!.getTextSize())
|
||||
}
|
||||
|
||||
ItemsAdapter(activity as SimpleActivity, storedItems, this@ItemsFragment, items_list, isPickMultipleIntent, items_fastscroller,
|
||||
items_swipe_refresh) {
|
||||
if ((it as? ListItem)?.isSectionTitle == true) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user