diff options
author | Reinhold Gschweicher <pyro4hell@gmail.com> | 2022-03-14 20:55:20 +0100 |
---|---|---|
committer | Reinhold Gschweicher <pyro4hell@gmail.com> | 2022-03-14 20:59:44 +0100 |
commit | bebc072e78145af69aacb1c2c9549da8653b7b0c (patch) | |
tree | 7ea5b219cca4a0391780448e090e9169cb75f641 /src/displayapp | |
parent | db41d9081a61b2370a4633568a9cb01bc948a5ab (diff) |
WatchFaceAnalog: const ref to dateTimeController
The clock app only reads from the dateTimeController, never modifies it.
Diffstat (limited to 'src/displayapp')
-rw-r--r-- | src/displayapp/screens/WatchFaceAnalog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/WatchFaceAnalog.h b/src/displayapp/screens/WatchFaceAnalog.h index a18eb299..3377d39e 100644 --- a/src/displayapp/screens/WatchFaceAnalog.h +++ b/src/displayapp/screens/WatchFaceAnalog.h @@ -74,7 +74,7 @@ namespace Pinetime { lv_obj_t* batteryIcon; lv_obj_t* notificationIcon; - Controllers::DateTime& dateTimeController; + const Controllers::DateTime& dateTimeController; Controllers::Battery& batteryController; Controllers::Ble& bleController; Controllers::NotificationManager& notificationManager; |