becd92652892
feat: Match appearance theme toggle (v2.3.26)
- time
- 2026-06-26 08:53 UTC · 4 months ago
- machine
- koh2
- parent
- 4cf6c7a7417d
↓ peach-android-becd9265.tar.gzatlas at this save
files changed2 files
app/build.gradle+2 −2app/src/main/java/com/peachpasswords/ui/settings/SettingsCardBodies.kt+2 −5app/build.gradle+2 −2
@@ -16,8 +16,8 @@1616 applicationId "com.peachpasswords"1717 minSdk 261818 targetSdk 3519- versionCode 23250020- versionName "2.3.25"19+ versionCode 23260020+ versionName "2.3.26"2121 2222 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"2323 vectorDrawables {app/src/main/java/com/peachpasswords/ui/settings/SettingsCardBodies.kt+2 −5
@@ -202,12 +202,9 @@202202 SubLabel("THEME", fg, top = 0.dp)203203 RowLine(fg) {204204 Name("Theme", fg)205- // Cycle dark → light → system → dark. The button shows the current mode;206- // tapping advances to the next.207205 val (label, next) = when (s.theme) {208- "light" -> "Light" to "system"209- "system" -> "System" to "dark"210- else -> "Dark" to "light"206+ "dark" -> "Switch to light" to "light"207+ else -> "Switch to dark" to "dark"211208 }212209 SubtleButton(label, fg) { vm.setTheme(next) }213210 }