updating the hint text at main screen too

This commit is contained in:
tibbi 2023-01-10 18:17:37 +01:00
parent ab5a3e0aeb
commit f126a27809

View file

@ -329,6 +329,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
main_menu.getToolbar().inflateMenu(menuId) main_menu.getToolbar().inflateMenu(menuId)
main_menu.toggleHideOnScroll(true) main_menu.toggleHideOnScroll(true)
main_menu.setupMenu() main_menu.setupMenu()
main_menu.updateHintText(getString(R.string.search_folders))
main_menu.onSearchTextChangedListener = { text -> main_menu.onSearchTextChangedListener = { text ->
setupAdapter(mDirsIgnoringSearch, text) setupAdapter(mDirsIgnoringSearch, text)