Skip to content

Commit

Permalink
Merge branch 'bugfix/map-marker-disappears' into beta-2.12.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajhilje committed Aug 16, 2024
2 parents fb3be73 + 63cf788 commit 7d5d84c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions IVPNClient/Scenes/MainScreen/Map/MapScrollView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ class MapScrollView: UIScrollView {
func updateMapMarkers() {
markerLocalView.updateView()
markerGatewayView.updateView()
if let viewModel = viewModel {
updateMapPosition(viewModel: viewModel, animated: true)
}
}

func updateMapPosition(latitude: Double, longitude: Double, animated: Bool = false, isLocalPosition: Bool, updateMarkers: Bool = true) {
Expand Down

0 comments on commit 7d5d84c

Please sign in to comment.