Fix direct boot
This commit is contained in:
@@ -7,7 +7,7 @@ import io.fabric.sdk.android.Fabric
|
|||||||
import timber.log.Timber
|
import timber.log.Timber
|
||||||
|
|
||||||
fun initTimber() {
|
fun initTimber() {
|
||||||
Fabric.with(app, Crashlytics())
|
Fabric.with(app.deviceStorage, Crashlytics())
|
||||||
Timber.plant(object : Timber.DebugTree() {
|
Timber.plant(object : Timber.DebugTree() {
|
||||||
override fun log(priority: Int, tag: String?, message: String, t: Throwable?) {
|
override fun log(priority: Int, tag: String?, message: String, t: Throwable?) {
|
||||||
if (t == null) Crashlytics.log(priority, tag, message) else {
|
if (t == null) Crashlytics.log(priority, tag, message) else {
|
||||||
|
|||||||
Reference in New Issue
Block a user