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
@@ -333,8 +333,8 @@ export class PairingViewModel extends Observable {
this.dispose();
if (this.onboarding) {
setPreviewOnlyMode(false);
// Continue the onboarding chain: unpair the official app next.
Frame.topmost()?.navigate({ moduleName: "phone-ui/onboarding-unpair-page" });
// Continue the onboarding chain: check the glasses' firmware next.
Frame.topmost()?.navigate({ moduleName: "phone-ui/onboarding-firmware-check-page" });
return;
}
Frame.topmost()?.navigate({ moduleName: "phone-ui/main-page", clearHistory: true });
@@ -348,7 +348,7 @@ export class PairingViewModel extends Observable {
return;
}
frame?.navigate({
moduleName: this.onboarding ? "phone-ui/onboarding-page" : "phone-ui/main-page",
moduleName: this.onboarding ? "phone-ui/onboarding-unpair-page" : "phone-ui/main-page",
clearHistory: true,
});
}