fix: init logcat in onCreate
Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
parent
e3c5e4e0ef
commit
1415a7744e
|
|
@ -12,9 +12,13 @@ class RevoltApplication : Application() {
|
||||||
lateinit var instance: RevoltApplication
|
lateinit var instance: RevoltApplication
|
||||||
}
|
}
|
||||||
|
|
||||||
|
override fun onCreate() {
|
||||||
|
super.onCreate()
|
||||||
|
AndroidLogcatLogger.installOnDebuggableApp(this, minPriority = LogPriority.VERBOSE)
|
||||||
|
}
|
||||||
|
|
||||||
init {
|
init {
|
||||||
instance = this
|
instance = this
|
||||||
DynamicColors.applyToActivitiesIfAvailable(this)
|
DynamicColors.applyToActivitiesIfAvailable(this)
|
||||||
AndroidLogcatLogger.installOnDebuggableApp(this, minPriority = LogPriority.VERBOSE)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue