mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-05-28 12:30:12 +02:00
fix(ui/setup): state concurrent
Signed-off-by: rhunk <101876869+rhunk@users.noreply.github.com>
This commit is contained in:
parent
844094aca0
commit
3f02023580
@ -135,8 +135,8 @@ class PermissionsScreen : SetupScreen() {
|
||||
|
||||
OnLifecycleEvent { _, event ->
|
||||
if (event != Lifecycle.Event.ON_RESUME) return@OnLifecycleEvent
|
||||
updateState()
|
||||
coroutineScope.launch {
|
||||
updateState()
|
||||
delay(1000)
|
||||
updateState()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user