From 082e4a036deb46b739bb2f04b60dedd1396a46bb Mon Sep 17 00:00:00 2001 From: Olivier Patry Date: Fri, 20 Sep 2024 20:21:03 +0200 Subject: [PATCH] fixup! Clean CredentialsStorage injection with platformModule() indirection layer --- .../src/main/java/net/opatry/tasks/app/MainActivity.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/tasks-app-android/src/main/java/net/opatry/tasks/app/MainActivity.kt b/tasks-app-android/src/main/java/net/opatry/tasks/app/MainActivity.kt index 49c08b16..8681d639 100644 --- a/tasks-app-android/src/main/java/net/opatry/tasks/app/MainActivity.kt +++ b/tasks-app-android/src/main/java/net/opatry/tasks/app/MainActivity.kt @@ -72,7 +72,6 @@ class MainActivity : AppCompatActivity() { val coroutineScope = rememberCoroutineScope() var signInStatus by remember { mutableStateOf(SignInStatus.Loading) } val credentialsStorage = koinInject() - credentialsStorage.tempRootPath = cacheDir.absolutePath LaunchedEffect(Unit) { signInStatus = if (credentialsStorage.load() != null) { SignInStatus.SignedIn