From 4840651e7b9c0f223954a59422431287869d945c Mon Sep 17 00:00:00 2001 From: Lucas PASCAL Date: Mon, 4 Nov 2024 09:47:05 +0100 Subject: [PATCH] [clean] Replacing deprecated useCaseSettings with useCaseNavigableContent --- src/ctap2_get_assertion_flow.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/ctap2_get_assertion_flow.c b/src/ctap2_get_assertion_flow.c index 7a93b937..46d8ef84 100644 --- a/src/ctap2_get_assertion_flow.c +++ b/src/ctap2_get_assertion_flow.c @@ -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) {