Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stax: Enable swipe in navigation flow #676

Merged
merged 1 commit into from
May 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading