diff options
| author | Riku Isokoski <riksu9000@gmail.com> | 2022-07-26 13:15:07 +0300 |
|---|---|---|
| committer | JF <JF002@users.noreply.github.com> | 2022-08-02 22:51:04 +0200 |
| commit | 7a6ede112e2a777321db16f367a6e4429604e5d9 (patch) | |
| tree | 0b4aabc03229ad2c7131f374843ce01bce6ac3e1 /src/displayapp/screens/Alarm.h | |
| parent | 97048121b05abb2c51c09a4340fe0aa223f46182 (diff) | |
Remove clockType variable by checking for nullptr instead.
Saves a few bytes
Diffstat (limited to 'src/displayapp/screens/Alarm.h')
| -rw-r--r-- | src/displayapp/screens/Alarm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/displayapp/screens/Alarm.h b/src/displayapp/screens/Alarm.h index a64bbe81..fba9d5d9 100644 --- a/src/displayapp/screens/Alarm.h +++ b/src/displayapp/screens/Alarm.h @@ -42,10 +42,10 @@ namespace Pinetime { private: Controllers::AlarmController& alarmController; - const Controllers::Settings::ClockType clockType; System::SystemTask& systemTask; - lv_obj_t *lblampm, *btnStop, *txtStop, *btnRecur, *txtRecur, *btnInfo, *enableSwitch; + lv_obj_t *btnStop, *txtStop, *btnRecur, *txtRecur, *btnInfo, *enableSwitch; + lv_obj_t* lblampm = nullptr; lv_obj_t* txtMessage = nullptr; lv_obj_t* btnMessage = nullptr; lv_task_t* taskStopAlarm = nullptr; |
