mirror of
https://github.com/Steffo99/twom.git
synced 2024-11-21 23:54:26 +00:00
Fix main activity not displaying anything
This commit is contained in:
parent
172f4ff76b
commit
ffdf046c46
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ class MainActivity : ComponentActivity() {
|
||||||
TwoMMatrix.ensureMatrix(applicationContext)
|
TwoMMatrix.ensureMatrix(applicationContext)
|
||||||
TwoMMatrix.setupSession()
|
TwoMMatrix.setupSession()
|
||||||
TwoMMatrix.session?.addListener(SessionChangeListener { resetContent() })
|
TwoMMatrix.session?.addListener(SessionChangeListener { resetContent() })
|
||||||
|
resetContent() // In case the session is not set up
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun deinitSession() {
|
private fun deinitSession() {
|
||||||
|
|
Loading…
Reference in a new issue