set proper default day at pressing "Plus" on monthly view

This commit is contained in:
tibbi 2018-03-30 11:24:30 +02:00
parent 943280dce0
commit b43f63a142
1 changed files with 1 additions and 1 deletions

View File

@ -108,5 +108,5 @@ class MonthFragmentsHolder : MyFragmentHolder(), NavigationListener {
(activity as MainActivity).supportActionBar?.title = getString(R.string.app_launcher_name) (activity as MainActivity).supportActionBar?.title = getString(R.string.app_launcher_name)
} }
override fun getNewEventDayCode() = currentDayCode override fun getNewEventDayCode() = if (shouldGoToTodayBeVisible()) currentDayCode else todayDayCode
} }