feat: add ability to disable trainer warning on shutdown (#4831)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com> Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
co-authored by
philmoz
Peter Feerick
parent
acd34e7fc9
commit
09d4066a23
@@ -441,6 +441,12 @@ class AlarmsPage : public SubPage
|
||||
new ToggleSwitch(line, rect_t{},
|
||||
GET_SET_INVERTED(g_eeGeneral.disableRssiPoweroffAlarm));
|
||||
line = body->newLine(grid);
|
||||
|
||||
// Trainer shutdown alarm
|
||||
new StaticText(line, rect_t{}, STR_TRAINER_SHUTDOWN_ALARM);
|
||||
new ToggleSwitch(line, rect_t{},
|
||||
GET_SET_INVERTED(g_eeGeneral.disableTrainerPoweroffAlarm));
|
||||
line = body->newLine(grid);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user