fix(color): Trainer stick labels not updating (#2401)

Stick labels for trainer mode should match default channel order setting
This commit is contained in:
Peter Feerick
2022-09-29 19:26:54 +10:00
committed by GitHub
parent 458d14d9f6
commit 228461acaf
+1 -1
View File
@@ -57,7 +57,7 @@ void RadioTrainerPage::build(FormWindow * form)
TrainerMix* td = &g_eeGeneral.trainer.mix[chan - 1];
auto line = form->newLine(&grid);
new StaticText(line, rect_t{}, STR_VSRCRAW[i + 1], 0, COLOR_THEME_PRIMARY1);
new StaticText(line, rect_t{}, STR_VSRCRAW[chan], 0, COLOR_THEME_PRIMARY1);
auto box = new FormGroup(line, rect_t{});
box->setFlexLayout(LV_FLEX_FLOW_ROW, lv_dpx(4));