mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 15:50:16 +02:00
20 lines
430 B
Kotlin
20 lines
430 B
Kotlin
package com.github.damontecres.dolphin
|
|
|
|
import android.app.Application
|
|
import dagger.hilt.android.HiltAndroidApp
|
|
import timber.log.Timber
|
|
|
|
@HiltAndroidApp
|
|
class DolphinApplication : Application() {
|
|
init {
|
|
instance = this
|
|
|
|
// TODO only plant in debug builds
|
|
Timber.plant(Timber.DebugTree())
|
|
}
|
|
|
|
companion object {
|
|
lateinit var instance: DolphinApplication
|
|
private set
|
|
}
|
|
}
|