File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Sources/OpenSwiftUI/View/Modifier Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 3
3
// OpenSwiftUI
4
4
//
5
5
// Audited for RELEASE_2021
6
- // Status: WIP
6
+ // Status: Blocked by _makeViewList
7
7
// ID: 8817D3B1C81ADA2B53E3500D727F785A
8
8
9
9
// MARK: - AppearanceActionModifier
@@ -79,6 +79,7 @@ extension AppearanceEffect: StatefulRule {
79
79
typealias Value = Void
80
80
81
81
mutating func updateValue( ) {
82
+ #if canImport(Darwin)
82
83
if node. attribute == nil {
83
84
node. attribute = . current
84
85
}
@@ -89,9 +90,14 @@ extension AppearanceEffect: StatefulRule {
89
90
}
90
91
lastValue = modifier
91
92
appeared ( )
93
+ #else
94
+ fatalError ( " See #39 " )
95
+ #endif
92
96
}
93
97
}
94
98
99
+ #if canImport(Darwin) // See #39
100
+
95
101
// MARK: AppearanceEffect + RemovableAttribute
96
102
97
103
extension AppearanceEffect : RemovableAttribute {
@@ -114,6 +120,7 @@ extension AppearanceEffect: RemovableAttribute {
114
120
nodeAttribute. graph. graphHost ( ) . graphInvalidation ( from: nil )
115
121
}
116
122
}
123
+ #endif
117
124
118
125
// MARK: - View Extension
119
126
You can’t perform that action at this time.
0 commit comments