mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-17 11:48:51 +03:00
Merge branch 'feature/adm/decouple-matrix-creation' of github.com:vector-im/element-android into feature/adm/decouple-matrix-creation
This commit is contained in:
commit
8e0f5802f9
1 changed files with 2 additions and 2 deletions
|
@ -100,8 +100,8 @@ class Matrix private constructor(context: Context, matrixConfiguration: MatrixCo
|
|||
private val isInit = AtomicBoolean(false)
|
||||
|
||||
/**
|
||||
* Creates a new instance of Matrix, it's recommend to manage this instance as a singleton.
|
||||
* To make use of the built in singleton use Matrix.initialise() and/or Matrix.getInstance(context) instead
|
||||
* Creates a new instance of Matrix, it's recommended to manage this instance as a singleton.
|
||||
* To make use of the built in singleton use Matrix.initialize() and/or Matrix.getInstance(context) instead
|
||||
**/
|
||||
fun createInstance(context: Context, matrixConfiguration: MatrixConfiguration): Matrix {
|
||||
return Matrix(context.applicationContext, matrixConfiguration)
|
||||
|
|
Loading…
Add table
Reference in a new issue