android: wrap the board's column choice the way ktlint wants
CI & Build / Python lint (push) Successful in 3s
CI & Build / Build now, or wait for Android? (push) Successful in 3s
Android / Build, or is the channel already serving this? (push) Successful in 3s
Desktop (Tauri) / Build, or is the channel already serving this? (push) Successful in 2s
Desktop (Tauri) / Web tests, clippy, Rust tests and rustfmt (push) Skipped
Desktop (Tauri) / Tauri desktop (Linux) (push) Skipped
Desktop (Tauri) / Windows installer (cross-compiled) (push) Skipped
Desktop (Tauri) / Update manifest (push) Skipped
CI & Build / Web typecheck and unit tests (push) Successful in 9s
CI & Build / Python tests (push) Successful in 14s
CI & Build / integration (push) Successful in 1m10s
CI & Build / Build & push image (push) Skipped
Android / Kotlin + Rust (APK) (push) Successful in 7m43s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-07 21:48:15 -04:00
co-authored by Claude Opus 5.5
parent d9f755b128
commit 82aa5ba7b6
@@ -474,11 +474,12 @@ private fun NoteBoard(
// `xl`, 1280px), on the window's width, so a tablet lays out like a browser of the // `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. // same size. Below that it stays at two, where the web drops to one on a phone.
val windowWidth = LocalConfiguration.current.screenWidthDp val windowWidth = LocalConfiguration.current.screenWidthDp
val columns = when { val columns =
windowWidth >= 1280 -> 4 when {
windowWidth >= 1024 -> 3 windowWidth >= 1280 -> 4
else -> 2 windowWidth >= 1024 -> 3
} else -> 2
}
LazyVerticalStaggeredGrid( LazyVerticalStaggeredGrid(
columns = StaggeredGridCells.Fixed(columns), columns = StaggeredGridCells.Fixed(columns),
modifier = Modifier.fillMaxSize(), modifier = Modifier.fillMaxSize(),