File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ open class MapViewController: UIViewController {
293293 guard mapItems != self . resultsViewController. mapItems else { return }
294294 self . resultsViewController. mapItems = mapItems
295295 if self . isRedoingSearch {
296- self . updateAnnotations ( )
296+ let _ = self . updateAnnotations ( )
297297 self . mapIndicator. stopAnimating ( )
298298 }
299299 self . search = nil
@@ -545,7 +545,7 @@ extension MapViewController: MKMapViewDelegate {
545545 }
546546
547547 open func mapView( _ mapView: MKMapView , didDeselect view: MKAnnotationView ) {
548- guard let view = view as? MKPinAnnotationView else { return }
548+ guard view is MKPinAnnotationView else { return }
549549 guard !isDeferringSelection else { return }
550550 zoomOut ( animated: true )
551551 }
You can’t perform that action at this time.
0 commit comments