Fix Alarm app crashing on buttonpress
This commit is contained in:
parent
755ab72495
commit
1d6455c289
|
@ -40,7 +40,9 @@ namespace Pinetime {
|
||||||
Controllers::AlarmController& alarmController;
|
Controllers::AlarmController& alarmController;
|
||||||
|
|
||||||
lv_obj_t *time, *btnEnable, *txtEnable, *btnMinutesUp, *btnMinutesDown, *btnHoursUp, *btnHoursDown, *txtMinUp, *txtMinDown,
|
lv_obj_t *time, *btnEnable, *txtEnable, *btnMinutesUp, *btnMinutesDown, *btnHoursUp, *btnHoursDown, *txtMinUp, *txtMinDown,
|
||||||
*txtHrUp, *txtHrDown, *btnRecur, *txtRecur, *btnMessage, *txtMessage, *btnInfo, *txtInfo;
|
*txtHrUp, *txtHrDown, *btnRecur, *txtRecur, *btnInfo, *txtInfo;
|
||||||
|
lv_obj_t* txtMessage = nullptr;
|
||||||
|
lv_obj_t* btnMessage = nullptr;
|
||||||
|
|
||||||
enum class EnableButtonState { On, Off, Alerting };
|
enum class EnableButtonState { On, Off, Alerting };
|
||||||
void SetEnableButtonState();
|
void SetEnableButtonState();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user