Fix naming in Stax UI for standalone clones (testnet apps)

This commit is contained in:
Alexandre Paillier
2023-02-07 18:06:45 +01:00
committed by Clement Bouvet
parent 5d6188d6bb
commit 3c8e424d46
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ include ./makefile_conf/chain/$(CHAIN).mk
else
$(error Unsupported CHAIN - use $(SUPPORTED_CHAINS))
endif
DEFINES += APPNAME=\"$(APPNAME)\"
CFLAGS += -DAPPNAME=\"$(APPNAME)\"
#########
# Other #
+2 -2
View File
@@ -2,7 +2,7 @@
#include "ui_nbgl.h"
#include "nbgl_use_case.h"
static const char* const infoTypes[] = {"Version", "Ethereum App"};
static const char* const infoTypes[] = {"Version", APPNAME" App"};
static const char* const infoContents[] = {APPVERSION, "(c) 2022 Ledger"};
enum {
@@ -98,5 +98,5 @@ static void controlsCallback(int token, uint8_t index) {
}
void ui_menu_settings(void) {
nbgl_useCaseSettings("Ethereum settings", 0, 3, true, ui_idle, navCallback, controlsCallback);
nbgl_useCaseSettings(APPNAME" settings", 0, 3, true, ui_idle, navCallback, controlsCallback);
}