diff options
| author | Reinhold Gschweicher <pyro4hell@gmail.com> | 2022-03-14 19:55:20 (GMT) |
|---|---|---|
| committer | Reinhold Gschweicher <pyro4hell@gmail.com> | 2022-03-14 19:59:44 (GMT) |
| commit | bebc072e78145af69aacb1c2c9549da8653b7b0c (patch) | |
| tree | 7ea5b219cca4a0391780448e090e9169cb75f641 | |
| parent | db41d9081a61b2370a4633568a9cb01bc948a5ab (diff) | |
WatchFaceAnalog: const ref to dateTimeController
The clock app only reads from the dateTimeController, never modifies it.
| -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 a18eb29..3377d39 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; |
