removing an unused function

This commit is contained in:
tibbi 2023-01-10 15:40:42 +01:00
parent c652ed3ea1
commit 0d0c797733
1 changed files with 2 additions and 5 deletions

View File

@ -512,14 +512,10 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
currentFragments.last().printView() currentFragments.last().printView()
} }
fun resetActionBarTitle() { private fun resetActionBarTitle() {
main_menu.updateHintText(getString(R.string.search)) main_menu.updateHintText(getString(R.string.search))
} }
fun updateTitle(text: String) {
main_menu.updateHintText(text)
}
private fun showFilterDialog() { private fun showFilterDialog() {
FilterEventTypesDialog(this) { FilterEventTypesDialog(this) {
refreshViewPager() refreshViewPager()
@ -1012,6 +1008,7 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
currentFragments.last().apply { currentFragments.last().apply {
refreshEvents() refreshEvents()
} }
calendar_fab.beGoneIf(currentFragments.size == 1 && config.storedView == YEARLY_VIEW) calendar_fab.beGoneIf(currentFragments.size == 1 && config.storedView == YEARLY_VIEW)
if (currentFragments.size > 1) { if (currentFragments.size > 1) {
showBackNavigationArrow() showBackNavigationArrow()