mirror of
https://github.com/element-hq/element-android
synced 2024-11-23 18:05:36 +03:00
Start Matrix instance at application start
This commit is contained in:
parent
f050574728
commit
a5bd5c8fb1
2 changed files with 1 additions and 1 deletions
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 a new issue