From cc50812a86b2da35686f34dddb24a09588674e0d Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Mon, 31 Aug 2026 19:53:08 -0400 Subject: [PATCH] ktlint: the Tags imports landed after SyncScreen, and SyncState sorts after that MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `standard:import-ordering`. The two new imports were inserted by anchoring on `com.fabledsword.thoughtsync.ui.SyncScreen`, which looked like the right neighbour and is not — `SyncState` and `SyncViewModel` both sort after it, so Tags* wedged into the middle of the Sync block. Moved below `SyncViewModel`. Every import block in the five files this branch touched is now confirmed sorted, not just the one ktlint happened to reach first — it reports one violation and stops, so a second would have cost another full Android lane. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01K3MMqUtzX1TJgA1oypvm1c --- .../src/main/java/com/fabledsword/thoughtsync/MainActivity.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/java/com/fabledsword/thoughtsync/MainActivity.kt b/android/app/src/main/java/com/fabledsword/thoughtsync/MainActivity.kt index a2a2c9d..6937243 100644 --- a/android/app/src/main/java/com/fabledsword/thoughtsync/MainActivity.kt +++ b/android/app/src/main/java/com/fabledsword/thoughtsync/MainActivity.kt @@ -31,10 +31,10 @@ import com.fabledsword.thoughtsync.ui.ForegroundTransitions import com.fabledsword.thoughtsync.ui.NoteEditorScreen import com.fabledsword.thoughtsync.ui.StoreUnavailableScreen import com.fabledsword.thoughtsync.ui.SyncScreen -import com.fabledsword.thoughtsync.ui.TagsScreen -import com.fabledsword.thoughtsync.ui.TagsViewModel import com.fabledsword.thoughtsync.ui.SyncState import com.fabledsword.thoughtsync.ui.SyncViewModel +import com.fabledsword.thoughtsync.ui.TagsScreen +import com.fabledsword.thoughtsync.ui.TagsViewModel import com.fabledsword.thoughtsync.ui.ThoughtSyncTheme import com.fabledsword.thoughtsync.ui.UpdateViewModel import com.fabledsword.thoughtsync.ui.olderThan