mirror of
https://github.com/ev-map/EVMap.git
synced 2026-01-06 14:07:47 -05:00
Show current filter profile title in filter edit view
This commit is contained in:
@@ -51,6 +51,12 @@ class FilterFragment : Fragment() {
|
||||
(requireActivity() as MapsActivity).appBarConfiguration
|
||||
)
|
||||
|
||||
vm.filterProfile.observe(viewLifecycleOwner) {
|
||||
if (it != null) {
|
||||
toolbar.title = "${getString(R.string.menu_filter)}: ${it.name}"
|
||||
}
|
||||
}
|
||||
|
||||
binding.filtersList.apply {
|
||||
adapter = FiltersAdapter()
|
||||
layoutManager =
|
||||
|
||||
Reference in New Issue
Block a user