From ffdf046c46de80a8673c55579b039017723ff6f1 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sun, 4 Feb 2024 23:59:48 +0100 Subject: [PATCH] Fix main activity not displaying anything --- app/src/main/java/eu/steffo/twom/main/activities/MainActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/steffo/twom/main/activities/MainActivity.kt b/app/src/main/java/eu/steffo/twom/main/activities/MainActivity.kt index bbb22b6..6a3bfce 100644 --- a/app/src/main/java/eu/steffo/twom/main/activities/MainActivity.kt +++ b/app/src/main/java/eu/steffo/twom/main/activities/MainActivity.kt @@ -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() {