diff --git a/ports/stm32/boards/Passport/modules/flows/select_setup_mode_flow.py b/ports/stm32/boards/Passport/modules/flows/select_setup_mode_flow.py index 79d1f00a5..ab3e05e1a 100644 --- a/ports/stm32/boards/Passport/modules/flows/select_setup_mode_flow.py +++ b/ports/stm32/boards/Passport/modules/flows/select_setup_mode_flow.py @@ -30,6 +30,18 @@ async def show_welcome(self): statusbar={'title': 'WELCOME', 'icon': 'ICON_HOME'}, left_micron=microns.Shutdown, right_micron=microns.Forward).show() + if result: + self.goto(self.show_warning) + else: + await ShutdownPage().show() + + async def show_warning(self): + from pages import InfoPage, ShutdownPage + + result = await InfoPage( + text='Make sure you are in a quiet and secure place, with access to a pen, paper, and the internet.', + left_micron=microns.Shutdown, + right_micron=microns.Forward).show() if result: self.goto(self.select_mode) else: