this is no longer needed
This commit is contained in:
parent
3ddbe78fe8
commit
ed1a870e1b
1 changed files with 1 additions and 7 deletions
|
@ -108,17 +108,11 @@ class LoginActivity : ComponentActivity() {
|
||||||
verticalArrangement = Arrangement.Center,
|
verticalArrangement = Arrangement.Center,
|
||||||
horizontalAlignment = Alignment.CenterHorizontally
|
horizontalAlignment = Alignment.CenterHorizontally
|
||||||
) {
|
) {
|
||||||
val loading by loginViewModel.fullscreenLoading.collectAsState()
|
|
||||||
|
|
||||||
if (loading) {
|
|
||||||
CircularProgressIndicator()
|
|
||||||
} else {
|
|
||||||
LoginApp(loginViewModel)
|
LoginApp(loginViewModel)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue