mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Add Timber
This commit is contained in:
@@ -83,6 +83,7 @@ dependencies {
|
||||
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
|
||||
implementation 'androidx.activity:activity-compose:1.6.1'
|
||||
implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.5.1'
|
||||
implementation 'com.jakewharton.timber:timber:5.0.1'
|
||||
debugImplementation "androidx.compose.ui:ui-tooling"
|
||||
debugImplementation "androidx.compose.ui:ui-test-manifest"
|
||||
implementation 'com.airbnb.android:mavericks-compose:3.0.1'
|
||||
|
||||
@@ -3,11 +3,13 @@ package io.element.android.x
|
||||
import android.app.Application
|
||||
import com.airbnb.mvrx.Mavericks
|
||||
import io.element.android.x.matrix.MatrixInstance
|
||||
import timber.log.Timber
|
||||
|
||||
class ElementXApplication : Application() {
|
||||
|
||||
override fun onCreate() {
|
||||
super.onCreate()
|
||||
Timber.plant(Timber.DebugTree())
|
||||
MatrixInstance.init(this)
|
||||
Mavericks.initialize(this)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user