Skip to content

Commit

Permalink
Merge pull request #247 from LedgerHQ/bitcoin-test-name
Browse files Browse the repository at this point in the history
Stax: Change homescreen Bitcoin Test to Bitcoin Testnet
  • Loading branch information
bigspider authored Mar 27, 2024
2 parents d32ce5f + dd70eba commit 680590c
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/ui/menu_nbgl.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,25 @@ static void exit(void) {
os_sched_exit(-1);
}

void ui_menu_about(void) {
nbgl_useCaseSettings("Bitcoin", 0, 1, false, ui_menu_main, navigation_cb, NULL);
}

void ui_menu_about_testnet(void) {
nbgl_useCaseSettings("Bitcoin Testnet", 0, 1, false, ui_menu_main, navigation_cb, NULL);
}

void ui_menu_main_flow_bitcoin(void) {
nbgl_useCaseHome("Bitcoin", &C_Bitcoin_64px, NULL, false, ui_menu_about, exit);
}

void ui_menu_main_flow_bitcoin_testnet(void) {
nbgl_useCaseHome("Bitcoin Test",
nbgl_useCaseHome("Bitcoin Testnet",
&C_Bitcoin_64px,
"This app enables signing\ntransactions on all the Bitcoin\ntest networks.",
false,
ui_menu_about,
ui_menu_about_testnet,
exit);
}

void ui_menu_about(void) {
nbgl_useCaseSettings("Bitcoin", 0, 1, false, ui_menu_main, navigation_cb, NULL);
}

void ui_menu_about_testnet(void) {
nbgl_useCaseSettings("Bitcoin Test", 0, 1, false, ui_menu_main, navigation_cb, NULL);
}
#endif // HAVE_NBGL

0 comments on commit 680590c

Please sign in to comment.