Skip to content

Commit f71bfbf

Browse files
authored
Execute ExperimentalFeaturesViewModel functions in the main actor (#23769)
1 parent 318a33e commit f71bfbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Modules/Sources/WordPressUI/Views/Settings/Experimental Features/ExperimentalFeaturesViewModel.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import SwiftUI
22

3+
@MainActor
34
public class ExperimentalFeaturesViewModel: ObservableObject {
45
public protocol DataProvider {
56
func loadItems() async throws -> [Feature]

0 commit comments

Comments
 (0)