Skip to content

Commit

Permalink
Merge pull request #97 from trilitech/palmer@functori@arrow-for-setti…
Browse files Browse the repository at this point in the history
…ngs-back-icon

Change the back settings screen icon to back arrow
  • Loading branch information
spalmer25 authored Oct 26, 2023
2 parents a944731 + 7f53a83 commit 33db301
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/ui_settings.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
1 change: 1 addition & 0 deletions app/src/ui_stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions app/src/ui_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 33db301

Please sign in to comment.