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

[clean] Replacing deprecated useCaseSettings with useCaseNavigableContent #62

Merged
merged 1 commit into from
Nov 4, 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
13 changes: 6 additions & 7 deletions src/ctap2_get_assertion_flow.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,12 @@ static void on_user_select_callback(int token, uint8_t index) {

static void on_user_select(void) {
// Reuse useCaseSettings which fit our needs
nbgl_useCaseSettings("User IDs",
0,
(available_credentials - 1) / SELECT_MAX_ID_NB + 1,
false,
on_user_select_exit,
on_user_select_navigation_callback,
on_user_select_callback);
nbgl_useCaseNavigableContent("User IDs",
0,
(available_credentials - 1) / SELECT_MAX_ID_NB + 1,
on_user_select_exit,
on_user_select_navigation_callback,
on_user_select_callback);
}

static void on_no_assertion_user_choice(int token, uint8_t index) {
Expand Down
Loading