diff --git a/Makefile b/Makefile index 3b24de66..25b86828 100644 --- a/Makefile +++ b/Makefile @@ -66,6 +66,9 @@ DEFINES += $(DEFINES_LIB) #prepare hsm generation ifeq ($(TARGET_NAME),TARGET_NANOS) ICONNAME=icons/nanos_app_$(CHAIN).gif +else ifeq ($(TARGET_NAME),TARGET_FATSTACKS) +ICONNAME=icons/stax_app_$(CHAIN).gif +DEFINES += ICONGLYPH=C_stax_app_$(CHAIN) else ICONNAME=icons/nanox_app_$(CHAIN).gif endif diff --git a/icons/stax_app_ethereum.gif b/icons/stax_app_ethereum.gif new file mode 100644 index 00000000..7d898931 Binary files /dev/null and b/icons/stax_app_ethereum.gif differ diff --git a/src_nbgl/ui_idle.c b/src_nbgl/ui_idle.c index 2f6fcffd..3e55da4f 100644 --- a/src_nbgl/ui_idle.c +++ b/src_nbgl/ui_idle.c @@ -1,6 +1,7 @@ #include "common_ui.h" #include "ui_nbgl.h" #include "nbgl_use_case.h" +#include "glyphs.h" nbgl_page_t* pageContext; @@ -18,10 +19,5 @@ void app_quit(void) { } void ui_idle(void) { - nbgl_useCaseHome(APPNAME, - NULL, - APPNAME, - true, - ui_menu_settings, - app_quit); + nbgl_useCaseHome(APPNAME, &ICONGLYPH, APPNAME, true, ui_menu_settings, app_quit); } \ No newline at end of file