feat: Resolving concurrency warnings
This commit is contained in:
@@ -180,7 +180,9 @@ extension FlaggedViewStyle where Self == FlaggedGridRowStyle {
|
||||
}
|
||||
|
||||
private struct FlaggedViewStyleKey: EnvironmentKey {
|
||||
static let defaultValue = AnyFlaggedViewStyle(style: DefaultFlagViewStyle())
|
||||
static let defaultValue = MainActor.assumeIsolated {
|
||||
AnyFlaggedViewStyle(style: DefaultFlagViewStyle())
|
||||
}
|
||||
}
|
||||
|
||||
extension EnvironmentValues {
|
||||
|
||||
Reference in New Issue
Block a user