lets fill the main views calendar on every resume, not just at create
This commit is contained in:
parent
82eb63ca69
commit
7165cdb3ff
|
@ -38,13 +38,12 @@ class MainActivity : SimpleActivity(), EventListFragment.DeleteListener {
|
|||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
setContentView(R.layout.activity_main)
|
||||
updateViewPager()
|
||||
|
||||
calendar_fab.setOnClickListener { addNewEvent() }
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
super.onResume()
|
||||
updateViewPager()
|
||||
updateWidgets()
|
||||
updateTextColors(calendar_coordinator)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue