mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Start Matrix instance at application start
This commit is contained in:
parent
f050574728
commit
a5bd5c8fb1
Binary file not shown.
@ -12,7 +12,7 @@ class AppModule(private val context: Context) : Module {
|
||||
|
||||
override fun invoke(): ModuleDefinition = module {
|
||||
|
||||
single {
|
||||
single(createOnStart = true) {
|
||||
val matrixOptions = MatrixOptions(context)
|
||||
Matrix(matrixOptions)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user