fix(ui/setup): state concurrent

Signed-off-by: rhunk <101876869+rhunk@users.noreply.github.com>
This commit is contained in:
rhunk 2024-06-12 14:44:38 +02:00
parent 844094aca0
commit 3f02023580

View File

@ -135,8 +135,8 @@ class PermissionsScreen : SetupScreen() {
OnLifecycleEvent { _, event ->
if (event != Lifecycle.Event.ON_RESUME) return@OnLifecycleEvent
updateState()
coroutineScope.launch {
updateState()
delay(1000)
updateState()
}