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