Skip to content

Commit ccfe585

Browse files
authored
nonisolated init in StyleModifier (#51)
1 parent 3a627d2 commit ccfe585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftUISupport/Components/StyleModifier.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public struct StyleModifier: ViewModifier {
1010
public let blurRadius: Double
1111
public let rotationEffect: Angle
1212

13-
public init(
13+
public nonisolated init(
1414
opacity: Double = 1,
1515
scale: CGSize = .init(width: 1, height: 1),
1616
offset: CGSize = .zero,

0 commit comments

Comments
 (0)