Skip to content

Commit

Permalink
Added dst offset caching at the start of Sunrise Sunset
Browse files Browse the repository at this point in the history
  • Loading branch information
voloved committed Oct 26, 2024
1 parent 8546bde commit cd71d76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions watch-faces/complication/sunrise_sunset_face.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit cd71d76

Please sign in to comment.