mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 20:29:10 +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
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…
Add table
Reference in a new issue