From 0f5532de8adf6862bd28bbc1c2fca28be21a186c Mon Sep 17 00:00:00 2001 From: Super12138 <70494801+Super12138@users.noreply.github.com> Date: Fri, 4 Jul 2025 11:51:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8F=96=E6=B6=88=E5=9C=A8=E6=9C=89?= =?UTF-8?q?=E9=A2=84=E7=BD=AE=E5=88=86=E7=B1=BB=E6=97=B6=E6=B8=85=E7=A9=BA?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E6=96=87=E6=9C=AC=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/cn/super12138/todo/ui/pages/editor/TodoEditorPage.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/kotlin/cn/super12138/todo/ui/pages/editor/TodoEditorPage.kt b/app/src/main/kotlin/cn/super12138/todo/ui/pages/editor/TodoEditorPage.kt index 1747f01..c77b033 100644 --- a/app/src/main/kotlin/cn/super12138/todo/ui/pages/editor/TodoEditorPage.kt +++ b/app/src/main/kotlin/cn/super12138/todo/ui/pages/editor/TodoEditorPage.kt @@ -91,7 +91,6 @@ fun TodoEditorPage( val index = categories.firstOrNull { it.name == toDo.category }?.id ?: -1 defaultIndex = index uiState.selectedCategoryIndex = index - if (index != -1) uiState.categoryContent = "" } }