get a reference to the db after app launch to make sure it gets created in time

This commit is contained in:
tibbi 2018-04-11 20:25:04 +02:00
parent 089fa48412
commit 277ae9f4dd
1 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,10 @@ class MainActivity : SimpleActivity(), RefreshRecyclerViewListener {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
appLaunched()
// just get a reference to the database to make sure it is created properly
dbHelper
checkWhatsNewDialog()
calendar_fab.beVisibleIf(config.storedView != YEARLY_VIEW)
calendar_fab.setOnClickListener {