Skip to content

Commit

Permalink
Use correct color for image background on model select button.
Browse files Browse the repository at this point in the history
  • Loading branch information
philmoz committed Feb 6, 2024
1 parent ddf573d commit 06fddc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/gui/colorlcd/model_select.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class ModelButton : public Button

if (modelLayouts[layout].hasImage) {
GET_FILENAME(filename, BITMAPS_PATH, modelCell->modelBitmap, "");
auto bitmap = new StaticBitmap(this, {2, 2, w, h}, filename, COLOR_THEME_PRIMARY2);
auto bitmap = new StaticBitmap(this, {2, 2, w, h}, filename, COLOR(bg_col_idx));
bitmap->show(bitmap->hasImage());

if (!bitmap->hasImage()) {
Expand Down

0 comments on commit 06fddc0

Please sign in to comment.