Skip to content

Commit

Permalink
fix(color): keys test page text not using theme color (EdgeTX#4869)
Browse files Browse the repository at this point in the history
  • Loading branch information
philmoz authored Apr 10, 2024
1 parent fb45009 commit eb472dd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions radio/src/gui/colorlcd/radio_diagkeys.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,20 @@ class RadioKeyDiagsWindow : public Window

if (keysGetMaxKeys() > 0) {
form = new Window(parent, rect_t{x, 6, colWidth, colHeight});
etx_txt_color(form->getLvObj(), COLOR_THEME_PRIMARY1_INDEX);
addKeys(form);
x += colWidth + 6;
} else {
colWidth = (width() - 18) / 2;
}

form = new Window(parent, rect_t{x, 6, colWidth, colHeight});
etx_txt_color(form->getLvObj(), COLOR_THEME_PRIMARY1_INDEX);
addSwitches(form);
x += colWidth + 6;

form =
new Window(parent, rect_t{x, 6, colWidth, colHeight});
form = new Window(parent, rect_t{x, 6, colWidth, colHeight});
etx_txt_color(form->getLvObj(), COLOR_THEME_PRIMARY1_INDEX);
addTrims(form);
}

Expand Down

0 comments on commit eb472dd

Please sign in to comment.