Start Matrix instance at application start

This commit is contained in:
ganfra 2018-11-08 21:33:31 +01:00
parent f050574728
commit a5bd5c8fb1
2 changed files with 1 additions and 1 deletions

View file

@ -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)
}