Skip to content

Commit

Permalink
Merge pull request #498 from Zondax/fix_special_mode_touch
Browse files Browse the repository at this point in the history
Fix enable special mode on touch devices
  • Loading branch information
0xPxt authored Sep 10, 2024
2 parents a6b6435 + 0ddbfd8 commit 6a1c9c0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/zondax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,9 @@ export function zondaxToggleExpertMode(model: TModel, clickArray?: number[]): Cl
export function zondaxTouchEnableSpecialMode(model: TModel, toggleSettingButton?: ButtonKind): TouchNavigation {
return new TouchNavigation(model, [
ButtonKind.InfoButton,
ButtonKind.SettingsNavRightButton,
ButtonKind.SettingsNavRightButton,
ButtonKind.ToggleSettingButton1,
ButtonKind.SettingsNavLeftButton,
ButtonKind.SettingsNavRightButton,
ButtonKind.SettingsNavLeftButton,
toggleSettingButton ?? ButtonKind.ToggleSettingButton2,
ButtonKind.SwipeContinueButton,
ButtonKind.ConfirmYesButton,
Expand Down

0 comments on commit 6a1c9c0

Please sign in to comment.