We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f6a62c commit 514747bCopy full SHA for 514747b
GoInfoGame/GoInfoGame/UI/Map/MapView.swift
@@ -182,6 +182,9 @@ struct MapView: View {
182
isSyncing = false
183
print("synced")
184
showAlert = true
185
+ case .hideElement(let elementId):
186
+ shouldShowPolyline = false
187
+ viewModel.hideQuest(elementId: elementId)
188
}
189
190
.onReceive(QuestsPublisher.shared.refreshQuest, perform: { _ in
@@ -218,6 +221,7 @@ public enum SheetDismissalScenario {
218
221
case submitted(String)
219
222
case syncing
220
223
case synced
224
+ case hideElement(String)
225
226
227
//TODO: Move to a new file
0 commit comments