File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -9,15 +9,13 @@ const withFollowAppDelegate = (config) => {
9
9
src : newContents ,
10
10
anchor : "// You can add your custom initial props in the dictionary below." ,
11
11
newSrc : `
12
- [UIView appearanceWhenContainedInInstancesOfClasses:@[[UIAlertController class]]].tintColor =
13
- [UIColor colorWithRed:255.0/255.0
14
- green:92.0/255.0
15
- blue:0.0/255.0
16
- alpha:1.0];
17
- self.window.tintColor = [UIColor colorWithRed:255.0/255.0
18
- green:92.0/255.0
19
- blue:0.0/255.0
20
- alpha:1.0];
12
+ UIColor* tintColor = [UIColor colorWithRed:255.0/255.0 green:92.0/255.0 blue:0.0/255.0 alpha:1.0];
13
+ [UIView appearanceWhenContainedInInstancesOfClasses:@[[UIAlertController class]]].tintColor = tintColor;
14
+ self.window.tintColor = tintColor;
15
+
16
+ [[UIButton appearance] setTintColor:tintColor];
17
+ [[UISwitch appearance] setOnTintColor:tintColor];
18
+ [[UIView appearance] setTintColor:tintColor];
21
19
` ,
22
20
offset : 3 ,
23
21
tag : "custom tint color" ,
You can’t perform that action at this time.
0 commit comments