mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 12:20:51 +01:00
get a reference to the db after app launch to make sure it gets created in time
This commit is contained in:
parent
089fa48412
commit
277ae9f4dd
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user