We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 886fe4a commit 69d88d8Copy full SHA for 69d88d8
MCMaps/Red Window/Views/Search/RedWindowSearchLandmarkResultCell.swift
@@ -51,8 +51,12 @@ struct RedWindowSearchLandmarkResultCell: View {
51
Text(landmark.position.accessibilityReadout)
52
.foregroundStyle(.secondary)
53
} icon: {
54
- Image(systemName: landmarkType.symbol)
55
- .foregroundStyle(landmark.color?.swiftUIColor ?? .accent)
+ Image(
+ systemName: landmarkType == .pin
56
+ ? landmark.icon?.resolveSFSymbol(in: .pin) ?? "mappin"
57
+ : landmarkType.symbol
58
+ )
59
+ .foregroundStyle(landmark.color?.swiftUIColor ?? .accent)
60
}
61
.onTapGesture {
62
redWindowEnvironment.mapCenterCoordinate = landmark.position
0 commit comments