Skip to content

Commit

Permalink
Merge pull request #200 from LedgerHQ/fbe/use_swipe_for_stax_scenario…
Browse files Browse the repository at this point in the history
…_nav

Use SWIPE_CENTER_TO_LEFT in Stax navigation scenario
  • Loading branch information
fbeutin-ledger authored Jul 16, 2024
2 parents 3e4cfe7 + c3a467b commit ef553b3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/ragger/navigator/navigation_scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ def __init__(self, device: Firmware, use_case: UseCase, approve: bool):
self.pattern = "^Approve$" if approve else "^Reject$"

elif device in [Firmware.STAX, Firmware.FLEX]:
if device == Firmware.STAX:
self.navigation = NavInsID.USE_CASE_REVIEW_TAP
else:
self.navigation = NavInsID.SWIPE_CENTER_TO_LEFT
self.navigation = NavInsID.SWIPE_CENTER_TO_LEFT

if use_case == UseCase.ADDRESS_CONFIRMATION:
if approve:
Expand Down

0 comments on commit ef553b3

Please sign in to comment.