Skip to content

fix: improve Switch visibility in unchecked state#504

Merged
barrydeen merged 1 commit intobarrydeen:mainfrom
dmnyc:fix/switch-unchecked-colors
May 4, 2026
Merged

fix: improve Switch visibility in unchecked state#504
barrydeen merged 1 commit intobarrydeen:mainfrom
dmnyc:fix/switch-unchecked-colors

Conversation

@dmnyc
Copy link
Copy Markdown
Contributor

@dmnyc dmnyc commented Apr 28, 2026

Summary

  • Adds wispSwitchColors() helper in Theme.kt with visible unchecked thumb/track/border colors
  • Applied to all Switch instances across 10 files so off-state toggles are distinguishable from the background
  • Consolidates duplicate inline colors from NotificationsScreen into the shared helper

Test plan

  • Open Settings → Interface — all off toggles show visible thumb and track outline
  • Check Safety, PoW, Relay, Notifications, Groups, Lists screens — same fix
  • Zap dialog anonymous/private toggles — unchecked state visible, checked state still orange

Add wispSwitchColors() helper in Theme.kt that sets unchecked thumb,
track, and border colors so off-state toggles are distinguishable from
the background across all color schemes. Applied to all Switch instances
app-wide (10 files). Consolidates duplicate inline colors from
NotificationsScreen into the shared helper.
@barrydeen barrydeen merged commit f857466 into barrydeen:main May 4, 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.

2 participants