From cd71d76b3a838f222ac61f77f4a83c4a907173aa Mon Sep 17 00:00:00 2001 From: David Volovskiy Date: Sat, 26 Oct 2024 07:11:58 -0400 Subject: [PATCH] Added dst offset caching at the start of Sunrise Sunset --- watch-faces/complication/sunrise_sunset_face.c | 1 + 1 file changed, 1 insertion(+) diff --git a/watch-faces/complication/sunrise_sunset_face.c b/watch-faces/complication/sunrise_sunset_face.c index 1a65710..97e6b26 100644 --- a/watch-faces/complication/sunrise_sunset_face.c +++ b/watch-faces/complication/sunrise_sunset_face.c @@ -323,6 +323,7 @@ void sunrise_sunset_face_activate(void *context) { movement_location_t movement_location = (movement_location_t) watch_get_backup_data(1); state->working_latitude = _sunrise_sunset_face_struct_from_latlon(movement_location.bit.latitude); state->working_longitude = _sunrise_sunset_face_struct_from_latlon(movement_location.bit.longitude); + movement_update_dst_offset_cache(); } bool sunrise_sunset_face_loop(movement_event_t event, void *context) {