Skip to content

Commit

Permalink
Merge pull request #676 from LedgerHQ/abo_swipe_on_stax
Browse files Browse the repository at this point in the history
Stax: Enable swipe in navigation flow
  • Loading branch information
abonnaudet-ledger committed May 28, 2024
2 parents 95661ea + e5b9480 commit 9a9a50c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib_nbgl/src/nbgl_layout.c
Original file line number Diff line number Diff line change
Expand Up @@ -2893,7 +2893,7 @@ int nbgl_layoutAddExtendedFooter(nbgl_layout_t *layout, const nbgl_layoutFooter_
default:
return -2;
}
#ifndef TARGET_STAX

// add swipable feature for navigation
if ((footerDesc->type == FOOTER_NAV) || (footerDesc->type == FOOTER_TEXT_AND_NAV)) {
addSwipeInternal(layoutInt,
Expand All @@ -2905,7 +2905,6 @@ int nbgl_layoutAddExtendedFooter(nbgl_layout_t *layout, const nbgl_layoutFooter_
? footerDesc->navigation.tuneId
: footerDesc->textAndNav.navigation.tuneId);
}
#endif // TARGET_STAX

if (footerDesc->separationLine) {
line = createHorizontalLine(layoutInt->layer);
Expand Down

0 comments on commit 9a9a50c

Please sign in to comment.