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.
24 lines
1.1 KiB
Ziran
24 lines
1.1 KiB
Ziran
#import, file "../src/app/mini_mode_policy.zi";
|
|
#import, file "../src/core/types.zi";
|
|
|
|
// Reading ?mini and --mini and building the full app's address are checked
|
|
// with Kryon's shared mini_embed; this checks the screens Inbe keeps.
|
|
#program_export
|
|
Answer :: () -> s32 {
|
|
if !MiniModeAllowsScreen(ScreenStart) { return 20 }
|
|
if !MiniModeAllowsScreen(ScreenSession) { return 21 }
|
|
if !MiniModeAllowsScreen(ScreenMeditation) { return 22 }
|
|
if !MiniModeAllowsScreen(ScreenSunSalutation) { return 23 }
|
|
if !MiniModeAllowsScreen(ScreenPatterns) { return 24 }
|
|
if !MiniModeAllowsScreen(ScreenTaiChi) { return 37 }
|
|
if !MiniModeAllowsScreen(ScreenResults) { return 25 }
|
|
if MiniModeAllowsScreen(ScreenHabits) { return 26 }
|
|
if MiniModeAllowsScreen(ScreenEList) { return 27 }
|
|
if MiniModeAllowsScreen(ScreenSettings) { return 28 }
|
|
if MiniModeAllowsScreen(ScreenProfile) { return 29 }
|
|
if MiniModeAllowsScreen(ScreenAudioSetup) { return 30 }
|
|
if MiniModeAllowsScreen(ScreenManual) { return 31 }
|
|
if MiniModeAllowsScreen(ScreenBreak) { return 32 }
|
|
return 42
|
|
}
|