We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7e4a22 commit d7cf90cCopy full SHA for d7cf90c
1 file changed
TABAnimatedDemo/TABAnimated/Decorate/DarkMode/TABAnimatedDarkModeImpl.m
@@ -41,13 +41,8 @@ - (void)traitCollectionDidChange:(UITraitCollection *)traitCollection
41
42
backgroundLayer.backgroundColor = animatedBackgroundColor.CGColor;
43
for (TABComponentLayer *layer in layers) {
44
- if (layer.numberOflines > 0) {
45
- for (TABComponentLayer *sub in layer.lineLayers) {
46
- sub.backgroundColor = animatedColor.CGColor;
47
- }
48
- }else {
49
- layer.backgroundColor = animatedColor.CGColor;
50
+
+ layer.backgroundColor = animatedColor.CGColor;
51
if (layer.contents && layer.placeholderName && layer.placeholderName.length > 0) {
52
layer.contents = (id)[UIImage imageNamed:layer.placeholderName].CGImage;
53
}
0 commit comments