Skip to content

Commit bebc072

Browse files
committed
WatchFaceAnalog: const ref to dateTimeController
The clock app only reads from the dateTimeController, never modifies it.
1 parent db41d90 commit bebc072

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/displayapp/screens/WatchFaceAnalog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ namespace Pinetime {
7474
lv_obj_t* batteryIcon;
7575
lv_obj_t* notificationIcon;
7676

77-
Controllers::DateTime& dateTimeController;
77+
const Controllers::DateTime& dateTimeController;
7878
Controllers::Battery& batteryController;
7979
Controllers::Ble& bleController;
8080
Controllers::NotificationManager& notificationManager;

0 commit comments

Comments
 (0)