Skip to content

Commit

Permalink
[clean] Replacing deprecated useCaseSettings with useCaseNavigableCon…
Browse files Browse the repository at this point in the history
…tent
  • Loading branch information
lpascal-ledger committed Nov 4, 2024
1 parent f4331b9 commit 4840651
Showing 1 changed file with 6 additions and 7 deletions.
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

0 comments on commit 4840651

Please sign in to comment.