Skip to content

Commit

Permalink
Fix map marker widget
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-osm committed Dec 31, 2024
1 parent cc412a9 commit 449a3da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class MapMarkerSideWidget: OASimpleWidget, CustomLatLonListener {

override func updateInfo() -> Bool {
let routingHelper = OARoutingHelper.sharedInstance()!
guard let marker = getMarker(), !routingHelper.isRoutePlanningMode(), routingHelper.isFollowingMode() else {
guard let marker = getMarker() else {
cachedMeters = 0
lastUpdatedTime = 0
setText(nil, subtext: nil)
Expand Down

0 comments on commit 449a3da

Please sign in to comment.