Now properly uses the settings use case

This commit is contained in:
Alexandre Paillier
2023-07-05 18:08:39 +02:00
parent 25562291e4
commit 7c83c15f9f
2 changed files with 2 additions and 2 deletions

View File

@@ -59,5 +59,5 @@ def settings_toggle(fw: Firmware, nav: Navigator, to_toggle: list[SettingID]):
moves += [NavInsID.USE_CASE_SETTINGS_NEXT]
if setting in to_toggle:
moves += [NavIns(NavInsID.TOUCH, get_setting_position(fw.device, setting))]
moves += [NavInsID.EXIT_HEADER_TAP]
moves += [NavInsID.USE_CASE_SETTINGS_MULTI_PAGE_EXIT]
nav.navigate(moves, screen_change_before_first_instruction=False)