Onboarding: Add layout and depth pages

This commit is contained in:
James Babcock committed 2026-10-10 21:52:19 -07:00
1 parent 1d257e8bb6
commit 6b1e64c5ac
17 files changed
+766 -74

No files matched your search

+3 -2
View File
@@ -13,6 +13,7 @@ const LABEL_GAP = 24;
/** None / Minimal / Full, each with a one-line summary; a tap saves the selected level. */
export class DataCollectionPage implements OnboardingPage {
readonly fullscreen = true;
/** Width of the level-name column, measured each paint. */
private labelColumnWidth = 0;
private readonly menu = new Menu<DataCollectionLevel>({
@@ -31,9 +32,9 @@ export class DataCollectionPage implements OnboardingPage {
paint(image: GrayImage, focused: boolean): void {
const top = drawPageHeading(
image,
"Faceclaw statistics",
"Data Sharing",
(global.isIOS ? "If using TestFlight, crash/usage reports cannot be disabled here. " : "") +
"Choose optional Faceclaw statistics. Change later in Settings > Privacy.",
"Choose how much data you want to share. Change later in Settings > Privacy.",
3,
) + CONTENT_GAP;
const body = onboardingFont("body");