From 46709688f550668327018a758f562c8cc704cc65 Mon Sep 17 00:00:00 2001 From: MUEDSA <7676275+muedsa@users.noreply.github.com> Date: Wed, 15 Nov 2023 09:19:20 +0800 Subject: [PATCH] fix: default tick = 0 --- .../main/kotlin/com/muedsa/compose/tv/widget/AppCloseHandler.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/muedsa/compose/tv/widget/AppCloseHandler.kt b/app/src/main/kotlin/com/muedsa/compose/tv/widget/AppCloseHandler.kt index 6cddae2..42204a1 100644 --- a/app/src/main/kotlin/com/muedsa/compose/tv/widget/AppCloseHandler.kt +++ b/app/src/main/kotlin/com/muedsa/compose/tv/widget/AppCloseHandler.kt @@ -16,7 +16,7 @@ fun AppCloseHandler( ) { var allowBack by remember { mutableStateOf(false) } - var tick by remember { mutableIntStateOf(8) } + var tick by remember { mutableIntStateOf(0) } LaunchedEffect(key1 = tick) { delay(250)