Skip to content

Settings: add missing row dividers in the Appearance card (#79)#83

Merged
ryanbr merged 1 commit into
mainfrom
fix-appearance-card-dividers
Jul 9, 2026
Merged

Settings: add missing row dividers in the Appearance card (#79)#83
ryanbr merged 1 commit into
mainfrom
fix-appearance-card-dividers

Conversation

@ryanbr

@ryanbr ryanbr commented Jul 8, 2026

Copy link
Copy Markdown
Owner

Fixes #79 — in the Appearance card on iOS, the option rows touch each other, unlike the card above it.

Cause

SettingsView.appearanceCard lays its rows in VStack(spacing: 0) but — unlike profileCard and every other card — has no rowDivider between Theme → Chart colours → App icon. So they sit flush. (rowDivider is the standard 1px hairline + 4pt padding used throughout Settings.)

Fix

  • iOS: add rowDivider between Theme↔Chart colours and Chart colours↔App icon. The App-icon divider is inside #if os(iOS), so macOS (no App-icon row) keeps a single divider before the toggle section — no double line.
  • Android parity: the rows there were already 16dp-spaced (SettingsSection's content Column(spacedBy(16.dp))), so they weren't touching — but they lacked the hairline every other Android section draws between FormRows. Added RowDivider() between Theme and Chart colours so it matches iOS and the rest of Settings.

Layout only, no behavior change.

Testing

Android compiles locally (compileFullDebugKotlin, exit 0). iOS is a trivial view insertion (CI-gated on WSL). Verified by inspection against the profileCard/other-section pattern.

Files: Strand/Screens/SettingsView.swift, android/.../SettingsScreen.kt.

On iOS the Appearance card's segmented rows (Theme / Chart colours / App icon)
sat flush against each other — its VStack(spacing: 0) had no rowDivider between
the rows, unlike every other card (Profile etc.). Add the standard rowDivider
between them; the App-icon divider sits inside #if os(iOS) so macOS keeps a
single divider before the toggles (no double line).

Android parity: the rows there were already 16dp-spaced (SettingsSection's
content Column), but lacked the hairline every other section draws between
FormRows — add RowDivider() between Theme and Chart colours to match iOS and the
rest of Settings.

Layout only. Android compiles locally.
@ryanbr ryanbr merged commit 9ee4b52 into main Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Padding between the option in settings in the appearance card

1 participant