Skip to content

Commit

Permalink
Remove outdated menu entries, improve menu test
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Lukoťka committed Dec 31, 2024
1 parent ed4f518 commit 8c4c061
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions deps/ledger-zxlib/app/ui/view_nbgl.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ zxerr_t account_enabled();
#define APPROVE_LABEL_NBGL_GENERIC "Accept operation?"
#define CANCEL_LABEL "Cancel"
#define VERIFY_TITLE_LABEL_GENERIC "Verify operation"
#define INFO_LIST_SIZE 4
#define INFO_LIST_SIZE 2
#define SETTING_CONTENTS_NB 1
static const char HOME_TEXT[] =
"This application enables\nsigning transactions on the\n" MENU_MAIN_APP_LINE1 " network";
Expand Down Expand Up @@ -96,8 +96,8 @@ static void h_view_address(void);
#define MAX_INFO_LIST_ITEM_PER_PAGE 2
#endif

static const char *const INFO_KEYS_PAGE[] = {"Version", "Developed by", "Website", "License"};
static const char *const INFO_VALUES_PAGE[] = {APPVERSION, "Zondax AG", "https://zondax.ch", "Apache 2.0"};
static const char *const INFO_KEYS_PAGE[] = {"Version", "License"};
static const char *const INFO_VALUES_PAGE[] = {APPVERSION, "Apache 2.0"};

static const char SHOW_STORED_PUBKEY_TEXT[] = "Show address";

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion tests/test_app_mainmenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ def test_app_mainmenu(firmware, backend, navigator, test_name):
NavInsID.USE_CASE_REVIEW_TAP,
NavInsID.USE_CASE_REVIEW_TAP,
NavInsID.USE_CASE_ADDRESS_CONFIRMATION_CONFIRM,
NavInsID.USE_CASE_SETTINGS_MULTI_PAGE_EXIT
NavInsID.USE_CASE_SETTINGS_MULTI_PAGE_EXIT,
NavInsID.USE_CASE_HOME_SETTINGS,
NavInsID.USE_CASE_SETTINGS_NEXT,
]

part += 1
Expand Down

0 comments on commit 8c4c061

Please sign in to comment.