Skip to content

Commit 53b1041

Browse files
committed
Add MainActor attribute
1 parent 32cf415 commit 53b1041

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Shared/Samples/Filter features in scene/FilterFeaturesInSceneView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ struct FilterFeaturesInSceneView: View {
5050
private extension FilterFeaturesInSceneView {
5151
/// The model used to store the geo model and other expensive objects
5252
/// used in this view.
53+
@MainActor
5354
class Model: ObservableObject {
5455
/// The scene for this sample.
5556
let scene: ArcGIS.Scene

0 commit comments

Comments
 (0)