Merge pull request #816 from Riksu9000/fix_alarm_crash
Fix Alarm app crashing on buttonpress
This commit is contained in:
commit
72900ca8aa
|
@ -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 a new issue