fix: init logcat in onCreate

Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
Infi 2024-12-21 22:11:08 +01:00
parent e3c5e4e0ef
commit 1415a7744e
1 changed files with 5 additions and 1 deletions

View File

@ -12,9 +12,13 @@ class RevoltApplication : Application() {
lateinit var instance: RevoltApplication
}
override fun onCreate() {
super.onCreate()
AndroidLogcatLogger.installOnDebuggableApp(this, minPriority = LogPriority.VERBOSE)
}
init {
instance = this
DynamicColors.applyToActivitiesIfAvailable(this)
AndroidLogcatLogger.installOnDebuggableApp(this, minPriority = LogPriority.VERBOSE)
}
}