1
Fork 0
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:
Steffo 2024-02-04 23:59:48 +01:00
parent 172f4ff76b
commit ffdf046c46
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -44,6 +44,7 @@ class MainActivity : ComponentActivity() {
TwoMMatrix.ensureMatrix(applicationContext)
TwoMMatrix.setupSession()
TwoMMatrix.session?.addListener(SessionChangeListener { resetContent() })
resetContent() // In case the session is not set up
}
private fun deinitSession() {