From 7a6ede112e2a777321db16f367a6e4429604e5d9 Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Tue, 26 Jul 2022 13:15:07 +0300 Subject: Remove clockType variable by checking for nullptr instead. Saves a few bytes --- src/displayapp/screens/Alarm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/displayapp/screens/Alarm.h') 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; -- cgit v1.2.3-70-g09d2