lets fill the main views calendar on every resume, not just at create

This commit is contained in:
tibbi 2017-01-02 23:21:38 +01:00
parent 82eb63ca69
commit 7165cdb3ff
1 changed files with 1 additions and 2 deletions

View File

@ -38,13 +38,12 @@ class MainActivity : SimpleActivity(), EventListFragment.DeleteListener {
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main) setContentView(R.layout.activity_main)
updateViewPager()
calendar_fab.setOnClickListener { addNewEvent() } calendar_fab.setOnClickListener { addNewEvent() }
} }
override fun onResume() { override fun onResume() {
super.onResume() super.onResume()
updateViewPager()
updateWidgets() updateWidgets()
updateTextColors(calendar_coordinator) updateTextColors(calendar_coordinator)
} }