From 8c468a6d78ba24a5804311a1782c2b08e83d3f9b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 1 Dec 2023 03:17:10 +0100 Subject: [PATCH] Not sure what was happening but this fixed it --- app/src/main/java/eu/steffo/twom/main/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/steffo/twom/main/MainActivity.kt b/app/src/main/java/eu/steffo/twom/main/MainActivity.kt index adb0b68..13561b5 100644 --- a/app/src/main/java/eu/steffo/twom/main/MainActivity.kt +++ b/app/src/main/java/eu/steffo/twom/main/MainActivity.kt @@ -132,7 +132,7 @@ class MainActivity : ComponentActivity() { private fun onClickCreate() { Log.d("Main", "Clicked the New button, launching create activity...") val intent = Intent(applicationContext, CreateActivity::class.java) - loginLauncher.launch(intent) + createLauncher.launch(intent) } private fun onCreate(result: ActivityResult) {