properly handle breadcrumbs text size
This commit is contained in:
parent
6a49ff4cf7
commit
10f7e08c2e
|
@ -58,7 +58,7 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.simplemobiletools:commons:5.22.20'
|
||||
implementation 'com.simplemobiletools:commons:5.23.0'
|
||||
implementation 'com.github.Stericson:RootTools:df729dcb13'
|
||||
implementation 'com.github.Stericson:RootShell:1.6'
|
||||
implementation 'com.alexvasilkov:gesture-views:2.5.2'
|
||||
|
|
|
@ -62,6 +62,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
|||
items_swipe_refresh.setOnRefreshListener { refreshItems() }
|
||||
items_fab.setOnClickListener { createNewItem() }
|
||||
breadcrumbs.listener = this@ItemsFragment
|
||||
breadcrumbs.updateFontSize(context!!.getTextSize())
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -97,6 +98,7 @@ class ItemsFragment : Fragment(), ItemOperationsListener, Breadcrumbs.Breadcrumb
|
|||
if (storedFontSize != configFontSize) {
|
||||
getRecyclerAdapter()?.updateFontSizes()
|
||||
storedFontSize = configFontSize
|
||||
mView.breadcrumbs.updateFontSize(context!!.getTextSize())
|
||||
}
|
||||
|
||||
mView.items_fastscroller.updateBubbleColors()
|
||||
|
|
Loading…
Reference in New Issue