From 77b1a877126b31d5b98133d4a35f4f936addfdab Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Mon, 24 Aug 2026 08:26:01 -0400 Subject: [PATCH] android: ktlint on the import order and a leftover blank line MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Inserting the checklistLines import after Note split Note from NoteLabel, and removing the checklistOpen state left two blank lines behind it. Both are the formatter only — the bindings built and the Rust lanes were already green. --- .../src/main/java/com/fabledsword/thoughtsync/ui/NoteCard.kt | 2 +- .../java/com/fabledsword/thoughtsync/ui/NoteEditorScreen.kt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/android/app/src/main/java/com/fabledsword/thoughtsync/ui/NoteCard.kt b/android/app/src/main/java/com/fabledsword/thoughtsync/ui/NoteCard.kt index d18fed5..f87a10b 100644 --- a/android/app/src/main/java/com/fabledsword/thoughtsync/ui/NoteCard.kt +++ b/android/app/src/main/java/com/fabledsword/thoughtsync/ui/NoteCard.kt @@ -27,8 +27,8 @@ import androidx.compose.ui.unit.dp import com.fabledsword.thoughtsync.R import com.fabledsword.thoughtsync.core.ChecklistItem import com.fabledsword.thoughtsync.core.Note -import com.fabledsword.thoughtsync.core.checklistLines import com.fabledsword.thoughtsync.core.NoteLabel +import com.fabledsword.thoughtsync.core.checklistLines @Composable fun NoteCard( diff --git a/android/app/src/main/java/com/fabledsword/thoughtsync/ui/NoteEditorScreen.kt b/android/app/src/main/java/com/fabledsword/thoughtsync/ui/NoteEditorScreen.kt index 836c349..f1e6d74 100644 --- a/android/app/src/main/java/com/fabledsword/thoughtsync/ui/NoteEditorScreen.kt +++ b/android/app/src/main/java/com/fabledsword/thoughtsync/ui/NoteEditorScreen.kt @@ -92,7 +92,6 @@ fun NoteEditorScreen( var picker by remember(sessionKey) { mutableStateOf(Picker.NONE) } var confirmingDelete by remember(sessionKey) { mutableStateOf(false) } - // A note in the trash is a record, not a document: editing one would silently // resurrect work that was meant to be thrown away. It renders read-only, with // Restore and Delete forever as the only things to do with it.