Move the "Disconnect the Even App" page to before pairing rather than after, and make some minor changes to it

This commit is contained in:
James Babcock committed 2026-08-25 21:29:06 -07:00
1 parent b74868bfb3
commit a7a5005e8d
8 files changed
+39 -26

No files matched your search

+3 -3
View File
@@ -6,9 +6,9 @@ type PairingContext = { onboarding?: boolean } | undefined;
export function navigatingTo(args: NavigatedData): void {
const page = args.object as Page;
// Preserve the model across back-navigation (returning from the unpair or
// manual-entry pages) so the selection isn't lost; the model restarts its
// scan on re-entry.
// Preserve the model across back-navigation (returning from the firmware
// check or manual-entry pages) so the selection isn't lost; the model
// restarts its scan on re-entry.
let model = page.bindingContext as PairingViewModel | undefined;
if (!model) {
const context = args.context as PairingContext;