Skip to content

Commit

Permalink
Merge pull request #171 from NatLibFi/EKIRJASTO-68-change-instance-in…
Browse files Browse the repository at this point in the history
…itiation-spot

Change MainApplication instance init spot
  • Loading branch information
natlibfi-burger authored Oct 29, 2024
2 parents 6c3ed3c + cab1179 commit 9adead2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class MainApplication : Application() {
override fun onCreate() {
super.onCreate()

INSTANCE = this
MainLogging.configure(cacheDir)

AppInfoUtil.init(this)
Expand All @@ -68,7 +69,6 @@ class MainApplication : Application() {
this.logStartup()
MainTransifex.configure(this.applicationContext)
this.boot.start(this)
INSTANCE = this
}

private fun logStartup() {
Expand Down

0 comments on commit 9adead2

Please sign in to comment.