Skip to content

Commit

Permalink
fix(ui): update MapScrollView.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajhilje committed Aug 16, 2024
1 parent e06ae71 commit 63cf788
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 63cf788

Please sign in to comment.