6527235722e9

polish Sync layout and migration notices (v2.17.35)

time
2026-09-12 00:12 UTC · 2 months ago
machine
koh2
agent
camel-stream/auto
session
sync screen polish
parent
62b76a063b8c
3 files app/src/main/java/com/peachpasswords/ui/settings/SettingsCardBodies.kt+41 −41app/src/main/java/com/peachpasswords/ui/settings/SettingsViewModel.kt+1 −1releases/v2.17.35.md+8 −0
app/src/main/java/com/peachpasswords/ui/settings/SettingsCardBodies.kt+41 −41
@@ -1018,6 +1018,28 @@10181018         generation.state == RESET_REQUIRED ||10191019         generation.state == RESET_CONFIRMED10201020 1021+    SubLabel("SYNC STATUS", fg)1022+    val indicator = syncIndicator(syncStatus, pairedDevices.size)1023+    RowLine(fg) {1024+        SyncIndicatorDot(1025+            indicator = indicator,1026+            label = syncIndicatorLabel(indicator, syncStatus),1027+            modifier = Modifier.padding(end = PeachSpacing.sm),1028+            size = 8.dp,1029+        )1030+        Text(1031+            describeSyncOutcome(syncStatus),1032+            color = fg.copy(alpha = 0.7f),1033+            fontFamily = PeachType.Body,1034+            fontSize = 11.sp,1035+            lineHeight = 16.sp,1036+            modifier = Modifier.weight(1f),1037+        )1038+        SubtleButton(if (syncStatus.syncing) "syncing..." else "sync now", fg) {1039+            if (!syncStatus.syncing) syncVm.syncNow()1040+        }1041+    }1042+10211043     // §11: this panel is a migration call to action, not a permanent label. On10221044     // the settled new generation there is nothing left to do here, so it goes10231045     // away entirely — the Browser applies the same rule. The state and its@@ -1076,47 +1098,6 @@10761098         }10771099     }10781100 1079-    SubLabel("ADD A DEVICE", fg, top = 0.dp)1080-    RowLine(fg) {1081-        Column(Modifier.weight(1f)) {1082-            Text("Pair a device", color = fg, fontFamily = PeachType.Body, fontSize = 13.sp)1083-            Text(1084-                "Either scan a QR shown on the other device, or show this device's QR for the other one to scan.",1085-                color = fg.copy(alpha = 0.7f), fontFamily = PeachType.Body, fontSize = 11.sp, lineHeight = 16.sp,1086-                modifier = Modifier.padding(top = 2.dp),1087-            )1088-        }1089-        // "Scan" opens the camera-driven AdoptVault flow: the phone is the1090-        // receiver. "Show a code" opens CodePair: the phone is the source.1091-        // Both are valid pairing entry points; without scan, a phone that wants1092-        // to join an existing browser-only vault has no path.1093-        SubtleButton("scan", fg) { onNavigate(PeachNav.AdoptVault) }1094-        Spacer(Modifier.width(PeachSpacing.xs))1095-        SubtleButton("show code", fg) { onNavigate(PeachNav.CodePair) }1096-    }1097-1098-    SubLabel("SYNC STATUS", fg)1099-    val indicator = syncIndicator(syncStatus, pairedDevices.size)1100-    RowLine(fg) {1101-        SyncIndicatorDot(1102-            indicator = indicator,1103-            label = syncIndicatorLabel(indicator, syncStatus),1104-            modifier = Modifier.padding(end = PeachSpacing.sm),1105-            size = 8.dp,1106-        )1107-        Text(1108-            describeSyncOutcome(syncStatus),1109-            color = fg.copy(alpha = 0.7f),1110-            fontFamily = PeachType.Body,1111-            fontSize = 11.sp,1112-            lineHeight = 16.sp,1113-            modifier = Modifier.weight(1f),1114-        )1115-        SubtleButton(if (syncStatus.syncing) "syncing..." else "sync now", fg) {1116-            if (!syncStatus.syncing) syncVm.syncNow()1117-        }1118-    }1119-11201101     SubLabel("PAIRED DEVICES", fg)11211102     if (pairedDevices.isEmpty()) {11221103         PeachEmptyOrEndState(@@ -1321,6 +1302,25 @@13211302                 }13221303             }13231304         }1305+    }1306+1307+    SubLabel("ADD A DEVICE", fg)1308+    RowLine(fg) {1309+        Column(Modifier.weight(1f)) {1310+            Text("Pair a device", color = fg, fontFamily = PeachType.Body, fontSize = 13.sp)1311+            Text(1312+                "Either scan a QR shown on the other device, or show this device's QR for the other one to scan.",1313+                color = fg.copy(alpha = 0.7f), fontFamily = PeachType.Body, fontSize = 11.sp, lineHeight = 16.sp,1314+                modifier = Modifier.padding(top = 2.dp),1315+            )1316+        }1317+        // "Scan" opens the camera-driven AdoptVault flow: the phone is the1318+        // receiver. "Show a code" opens CodePair: the phone is the source.1319+        // Both are valid pairing entry points; without scan, a phone that wants1320+        // to join an existing browser-only vault has no path.1321+        SubtleButton("scan", fg) { onNavigate(PeachNav.AdoptVault) }1322+        Spacer(Modifier.width(PeachSpacing.xs))1323+        SubtleButton("show code", fg) { onNavigate(PeachNav.CodePair) }13241324     }13251325 13261326     SyncDisclosure(

view file

app/src/main/java/com/peachpasswords/ui/settings/SettingsViewModel.kt+1 −1
@@ -384,7 +384,7 @@384384             "${if (s.breachMonitoring) "breaches watched" else "breach watch off"} · manual lock"385385         CardId.Vault ->386386             "$entriesCount ${if (entriesCount == 1) "entry" else "entries"} · backups, history, cleanup"387-        CardId.Sync -> if (_isPro.value) "your devices, one vault" else "Pro · encrypted device sync"387+        CardId.Sync -> if (_isPro.value) "End to End Encryption" else "Pro · encrypted device sync"388388         CardId.Appearance -> "${s.accentColor} · ${s.textSize} · ${if (s.reduceMotion) "still" else "in motion"}"389389         CardId.Feedback -> "tell us what would make it better"390390     }

view file

releases/v2.17.35.md+8 −0
@@ -5,6 +5,14 @@55 - Restore updates for existing Peach installations by publishing the APKs with the established Peach signing certificate and lineage.66 - Release publication now refuses a temporary or replacement keystore even when the APK and local keystore match each other.77 8+## Sync security update9+10+- This is a major security update. We're sorry for the extra step: Sync and device Revocation are now meaningfully more secure, but every device must be repaired deliberately.11+- Update Peach on every device first.12+- On the device showing the reset notice, open Sync settings, enter your master password, and complete **Reset Sync**.13+- Pair or re-pair every device individually. Old device trust will not continue automatically.14+- Your vault and recovery words are unchanged.15+816 ## Verification917 1018 - JDK 17 release assembly passed with the established Peach keystore.

view file