From ed1a870e1bcb534b7036018f30c957baac17cc26 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Wed, 7 Aug 2024 13:51:23 +0200 Subject: [PATCH] this is no longer needed --- .../java/eu/m724/vastapp/activity/login/LoginActivity.kt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/src/main/java/eu/m724/vastapp/activity/login/LoginActivity.kt b/app/src/main/java/eu/m724/vastapp/activity/login/LoginActivity.kt index 0aac63f..fa7a0cf 100644 --- a/app/src/main/java/eu/m724/vastapp/activity/login/LoginActivity.kt +++ b/app/src/main/java/eu/m724/vastapp/activity/login/LoginActivity.kt @@ -108,13 +108,7 @@ class LoginActivity : ComponentActivity() { verticalArrangement = Arrangement.Center, horizontalAlignment = Alignment.CenterHorizontally ) { - val loading by loginViewModel.fullscreenLoading.collectAsState() - - if (loading) { - CircularProgressIndicator() - } else { - LoginApp(loginViewModel) - } + LoginApp(loginViewModel) } } }