From 8b1ec55ff9d74f3776101e3960c6e817e553b8e3 Mon Sep 17 00:00:00 2001 From: Super12138 <70494801+Super12138@users.noreply.github.com> Date: Sat, 14 Feb 2026 15:13:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=94=B1=E4=BA=8E=20LazyColumn=20?= =?UTF-8?q?=E7=9A=84=E6=B8=B2=E6=9F=93=E7=AD=96=E7=95=A5=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=97=8B=E8=BD=AC=E5=B1=8F=E5=B9=95=E5=90=8E=E5=AF=B9=E8=AF=9D?= =?UTF-8?q?=E6=A1=86=E5=BB=B6=E8=BF=9F=E6=89=93=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../super12138/todo/ui/pages/settings/SettingsAboutLicence.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/cn/super12138/todo/ui/pages/settings/SettingsAboutLicence.kt b/app/src/main/kotlin/cn/super12138/todo/ui/pages/settings/SettingsAboutLicence.kt index 5fa612f..48239e5 100644 --- a/app/src/main/kotlin/cn/super12138/todo/ui/pages/settings/SettingsAboutLicence.kt +++ b/app/src/main/kotlin/cn/super12138/todo/ui/pages/settings/SettingsAboutLicence.kt @@ -19,6 +19,7 @@ import androidx.compose.runtime.Composable import androidx.compose.runtime.getValue import androidx.compose.runtime.mutableStateOf import androidx.compose.runtime.saveable.rememberSaveable +import androidx.compose.runtime.remember import androidx.compose.runtime.setValue import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier @@ -57,7 +58,7 @@ fun SettingsAboutLicence( items = libraries?.libraries ?: listOf(), key = { it.artifactId } ) { library -> - var openDialog by rememberSaveable { mutableStateOf(false) } + var openDialog by remember { mutableStateOf(false) } SettingsItem( headlineContent = { Row(