From 82aa5ba7b651950e0bd4f466247c570aa0759292 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Wed, 7 Oct 2026 21:48:15 -0400 Subject: [PATCH] android: wrap the board's column choice the way ktlint wants Co-Authored-By: Claude Opus 5.5 --- .../java/com/fabledsword/inkwell/ui/BoardScreen.kt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/android/app/src/main/java/com/fabledsword/inkwell/ui/BoardScreen.kt b/android/app/src/main/java/com/fabledsword/inkwell/ui/BoardScreen.kt index 21eac23..e82257d 100644 --- a/android/app/src/main/java/com/fabledsword/inkwell/ui/BoardScreen.kt +++ b/android/app/src/main/java/com/fabledsword/inkwell/ui/BoardScreen.kt @@ -474,11 +474,12 @@ private fun NoteBoard( // `xl`, 1280px), on the window's width, so a tablet lays out like a browser of the // same size. Below that it stays at two, where the web drops to one on a phone. val windowWidth = LocalConfiguration.current.screenWidthDp - val columns = when { - windowWidth >= 1280 -> 4 - windowWidth >= 1024 -> 3 - else -> 2 - } + val columns = + when { + windowWidth >= 1280 -> 4 + windowWidth >= 1024 -> 3 + else -> 2 + } LazyVerticalStaggeredGrid( columns = StaggeredGridCells.Fixed(columns), modifier = Modifier.fillMaxSize(),