Skip to content

Commit c718009

Browse files
committed
removed @mainactor annotation
1 parent 5e93b8f commit c718009

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DebugMenu/DebugMenu/Wrappers/DebugToggle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public struct DebugToggle: DynamicProperty {
2424
storage.value
2525
}
2626
nonmutating set {
27-
Task { @MainActor in
27+
Task {
2828
if await willSet(newValue) {
2929
storage.value = newValue
3030
didSet?(newValue)

0 commit comments

Comments
 (0)