forked from Blendman974/faceclaw
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:
1 parent
b74868bfb3
commit
a7a5005e8d
8 files changed
+39
-26
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user