srsly make sure the Add button is hidden in yearly view

This commit is contained in:
tibbi 2016-11-23 00:13:40 +01:00
parent e9fc8bbd89
commit 28fdd67325
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ class MainActivity : SimpleActivity(), EventListFragment.DeleteListener {
}
private fun fillYearlyViewPager() {
calendar_fab.visibility = View.GONE
val targetYear = DateTime().toString(Formatter.YEAR_PATTERN).toInt()
val years = getYears(targetYear)
val yearlyAdapter = MyYearPagerAdapter(supportFragmentManager, years, this)