Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 339281d0 authored by Ashley's avatar Ashley
Browse files

Fix migration log before logger init

parent 016da71f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -51,16 +51,16 @@ abstract class BaseApplication : Application(), WorkManagerConfiguration.Provide
    override fun attachBaseContext(base: Context?) {
        Core.earlyInit()

        super.attachBaseContext(base)

        // Start Koin early so it is ready by the time content providers are initialized.
        DI.start(this, listOf(provideAppModule()))
        Log.logger = logger

        super.attachBaseContext(base)
    }

    override fun onCreate() {
        super.onCreate()

        Log.logger = logger
        K9.init(this)
        Core.init(this)
        initializeAppLanguage()