Clean up the copy through the onboarding flow

This commit is contained in:
James Babcock committed 2026-09-11 23:19:13 -07:00
1 parent a9e436fa71
commit 70842176f6
6 files changed
+19 -11

No files matched your search

+3 -1
View File
@@ -5,10 +5,12 @@ import { FlashMode, OnboardingFlashViewModel } from "./onboarding-flash-view-mod
export function navigatingTo(args: NavigatedData): void {
const page = args.object as Page;
if (!page.bindingContext) {
const context = (args.context as { mode?: FlashMode; fromOnboarding?: boolean } | undefined) ?? undefined;
const context =
(args.context as { mode?: FlashMode; fromOnboarding?: boolean; autoStart?: boolean } | undefined) ?? undefined;
page.bindingContext = new OnboardingFlashViewModel({
mode: context?.mode ?? "install",
fromOnboarding: context?.fromOnboarding ?? true,
autoStart: context?.autoStart ?? false,
});
}
}