Skip to content

Commit 54596b9

Browse files
authored
1 parent 86b632c commit 54596b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/Classes/Annotations/AnnotationController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class AnnotationController: NSObject {
117117
let y = self.getInfoWindowYOffset(annotationView: annotationView, annotation: annotation)
118118
annotationView.calloutOffset = CGPoint(x: x, y: y)
119119
if #available(iOS 9.0, *) {
120-
let lines = annotation.subtitle?.split(whereSeparator: \.isNewline)
120+
let lines = annotation.subtitle?.split(whereSeparator: { $0.isNewline })
121121
if lines != nil {
122122
let customCallout = UIStackView()
123123
customCallout.axis = .vertical

0 commit comments

Comments
 (0)