From 94c92c9aae1c6c82b7509bc5f8eb7e290bcd8da0 Mon Sep 17 00:00:00 2001 From: abonnaudet-ledger Date: Tue, 18 Oct 2022 11:20:20 +0200 Subject: [PATCH] Fat: Add ethereum app icon --- Makefile | 3 +++ icons/stax_app_ethereum.gif | Bin 0 -> 127 bytes src_nbgl/ui_idle.c | 8 ++------ 3 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 icons/stax_app_ethereum.gif 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 0000000000000000000000000000000000000000..7d898931ef380ba070f90dede8e2fc2445e768e6 GIT binary patch literal 127 zcmZ?wbhEHbRA5kG_`t{j1poj4SNzEWVln7|2#^c|Q&>+w=gGIf7O{jxxxU^T`Tj=g zec`g?;4bw^v$8L=<-h6M^5<^qy2ruql^M&YElj_>SvEuG$)O2ZR{avM&T|Fd%sQC+ bhBdWm^Tom$8G5tN-`H5D+v;q`%3uuur&=`( literal 0 HcmV?d00001 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