We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce33193 commit 1d1391bCopy full SHA for 1d1391b
Sources/Components/Compositions/StyledEdgeNode.swift
@@ -302,6 +302,19 @@ public class StyledEdgeNode<ContentNode: ASDisplayNode>: NamedDisplayNodeBase {
302
303
}
304
305
+ public override func asyncTraitCollectionDidChange(
306
+ withPreviousTraitCollection previousTraitCollection: ASPrimitiveTraitCollection
307
+ ) {
308
+ super.asyncTraitCollectionDidChange(withPreviousTraitCollection: previousTraitCollection)
309
+ let userInterfaceStyle = asyncTraitCollection().userInterfaceStyle
310
+ guard
311
+ previousTraitCollection.userInterfaceStyle != userInterfaceStyle
312
+ else {
313
+ return
314
+ }
315
+ self.updateStrategy()
316
317
+
318
319
320
extension ShapeDisplaying {
0 commit comments