From 7f53a83c020ea50dc693d96646c8bb881a2f786a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Palmer?= Date: Wed, 25 Oct 2023 17:34:04 +0200 Subject: [PATCH] Change the back settings screen icon to back arrow --- app/src/ui_settings.c | 2 +- app/src/ui_stream.c | 1 + app/src/ui_stream.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/ui_settings.c b/app/src/ui_settings.c index e462a8158..1559998e0 100644 --- a/app/src/ui_settings.c +++ b/app/src/ui_settings.c @@ -54,7 +54,7 @@ ui_settings_init(void) tz_ui_stream_init(cb); tz_ui_stream_push(BLIND_SIGNING, "Blind Signing", bsigning, TZ_UI_ICON_NONE); - tz_ui_stream_push(BACK, "Back", "", TZ_UI_ICON_DASHBOARD); + tz_ui_stream_push(BACK, "Back", "", TZ_UI_ICON_BACK); tz_ui_stream_close(); tz_ui_stream_start(); FUNC_LEAVE(); diff --git a/app/src/ui_stream.c b/app/src/ui_stream.c index 54c490cc0..1ae221884 100644 --- a/app/src/ui_stream.c +++ b/app/src/ui_stream.c @@ -284,6 +284,7 @@ find_icon(tz_ui_icon_t icon) case TZ_UI_ICON_CROSS: return (const char *)&C_icon_crossmark; case TZ_UI_ICON_DASHBOARD: return (const char *)&C_icon_dashboard_x; case TZ_UI_ICON_SETTINGS: return (const char *)&C_icon_settings; + case TZ_UI_ICON_BACK: return (const char *)&C_icon_back_x; default: return NULL; } // clang-format on diff --git a/app/src/ui_stream.h b/app/src/ui_stream.h index 241ccb22b..ca1a223c8 100644 --- a/app/src/ui_stream.h +++ b/app/src/ui_stream.h @@ -92,6 +92,7 @@ typedef uint8_t tz_ui_icon_t; #define TZ_UI_ICON_CROSS 0x02 #define TZ_UI_ICON_DASHBOARD 0x03 #define TZ_UI_ICON_SETTINGS 0x04 +#define TZ_UI_ICON_BACK 0x05 typedef struct { tz_ui_icon_t icon;