diff options
author | Riku Isokoski <riksu9000@gmail.com> | 2021-11-09 11:38:19 +0200 |
---|---|---|
committer | Riku Isokoski <riksu9000@gmail.com> | 2021-11-09 11:38:19 +0200 |
commit | 1d6455c28943efc0e51a91e6e7daa9045a372e50 (patch) | |
tree | 1df143d5436e91f38776ebccb2a12027155ef4b5 /src/displayapp | |
parent | 755ab72495b16bbe4cc64c33833c7cc30b815ca0 (diff) |
Fix Alarm app crashing on buttonpress
Diffstat (limited to 'src/displayapp')
-rw-r--r-- | src/displayapp/screens/Alarm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/displayapp/screens/Alarm.h b/src/displayapp/screens/Alarm.h index 32a14d2f..487ba1d5 100644 --- a/src/displayapp/screens/Alarm.h +++ b/src/displayapp/screens/Alarm.h @@ -40,7 +40,9 @@ namespace Pinetime { Controllers::AlarmController& alarmController; 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 }; void SetEnableButtonState(); |