Files
breeze/tests/route_catalog_behavior.zi
T
waozi 032ac3264f Follow the device language on first run and ask once about voice guidance
New profiles no longer start with a Choose Language screen. They use the
device's language, or English when Inner Breeze has no translation for it,
and keep following the device until a language is picked in Settings, which
stays the only language control. Profiles that already chose a language
keep it.

The multi-choice Optional audio step becomes one question, "Add voice
guidance?", with the total size: Download turns on the guide and practice
voices and fetches them in the background, Not now leaves both off without
asking again. Per-voice controls stay in Settings and each practice. The
language screen, its Back path, the audio setup step machine and its saved
step, and the strings only they used are removed.
2026-10-24 00:22:14 -03:00

35 lines
1.7 KiB
Ziran

#import, file "../src/app/route_catalog.zi";
#import, file "../src/core/types.zi";
#program_export
Answer :: () -> s32 {
if ScreenForPath("start") != ScreenStart { return -1 }
if ScreenForPath("session") != ScreenSession { return -2 }
if ScreenForPath("meditation") != ScreenMeditation { return -3 }
if ScreenForPath("sun_salutation") != ScreenSunSalutation { return -4 }
if ScreenForPath("patterns") != ScreenPatterns { return -5 }
if ScreenForPath("tai_chi") != ScreenTaiChi { return -26 }
if ScreenForPath("astral_projection") != ScreenAstralProjection { return -27 }
if ScreenForPath("workout") != ScreenWorkout { return -28 }
if ScreenForPath("results") != ScreenResults { return -6 }
if ScreenForPath("settings") != ScreenSettings { return -7 }
if ScreenForPath("audio_setup") != ScreenAudioSetup { return -8 }
if ScreenForPath("manual") != ScreenManual { return -9 }
if ScreenForPath("profile") != ScreenProfile { return -10 }
if ScreenForPath("habits") != ScreenHabits { return -11 }
if ScreenForPath("elist") != ScreenEList { return -12 }
if ScreenForPath("customize_nav") != ScreenCustomizeNav { return -13 }
if ScreenForPath("habit_edit") != ScreenHabitEdit { return -14 }
if ScreenForPath("habit_session_edit") != ScreenHabitSessionEdit {
return -15
}
if ScreenForPath("#/settings?tab=audio") != ScreenSettings { return -16 }
if ScreenForPath("lumi") != ScreenLumi { return -18 }
if ScreenForPath("#/lumi") != ScreenLumi { return -19 }
if ScreenForPath("diary") != ScreenDiary { return -20 }
if ScreenForPath("") != -1 || ScreenForPath("missing") != -1 {
return -17
}
return 42
}