Skip to content

Commit 818dfdf

Browse files
committed
gui: don't reuse the qrcode background color for unhighlighted buttons
1 parent c9a7a54 commit 818dfdf

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

main/gui.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const color_t GUI_BLOCKSTREAM_HIGHTLIGHT_ORANGE = 0xE0D3;
4848
const color_t GUI_BLOCKSTREAM_HIGHTLIGHT_BLUE = 0xD318;
4949
const color_t GUI_BLOCKSTREAM_HIGHTLIGHT_DARKGREY = 0xA210;
5050
const color_t GUI_BLOCKSTREAM_HIGHTLIGHT_LIGHTGREY = 0xB294;
51+
const color_t GUI_BLOCKSTREAM_UNHIGHTLIGHTED_DEFAULT = 0x494A;
5152

5253
typedef struct _activity_holder_t activity_holder_t;
5354
struct _activity_holder_t {

main/gui.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ extern const color_t GUI_BLOCKSTREAM_HIGHTLIGHT_ORANGE;
1919
extern const color_t GUI_BLOCKSTREAM_HIGHTLIGHT_BLUE;
2020
extern const color_t GUI_BLOCKSTREAM_HIGHTLIGHT_DARKGREY;
2121
extern const color_t GUI_BLOCKSTREAM_HIGHTLIGHT_LIGHTGREY;
22+
extern const color_t GUI_BLOCKSTREAM_UNHIGHTLIGHTED_DEFAULT;
2223

2324
// -------------- Configuration -----------------
2425

main/ui/dashboard.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ gui_activity_t* make_home_screen_activity(const char* device_name, const char* f
8888
gui_set_parent(node, hsplit);
8989

9090
// Next item
91-
node = make_home_screen_panel_item(GUI_BLOCKSTREAM_QR_PALE, next_entry);
91+
node = make_home_screen_panel_item(GUI_BLOCKSTREAM_UNHIGHTLIGHTED_DEFAULT, next_entry);
9292
gui_set_borders(node, TFT_BLACK, 6, GUI_BORDER_LEFT);
9393
gui_set_parent(node, hsplit);
9494

0 commit comments

Comments
 (0)