Start Matrix instance at application start
This commit is contained in:
parent
f050574728
commit
a5bd5c8fb1
BIN
.idea/caches/build_file_checksums.ser
generated
BIN
.idea/caches/build_file_checksums.ser
generated
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…
x
Reference in New Issue
Block a user