File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -1796,7 +1796,9 @@ exports[`AvatarScreen renders screen 1`] = `
1796
1796
}
1797
1797
style = {
1798
1798
Array [
1799
- undefined ,
1799
+ Object {
1800
+ " tintColor" : " #FFFFFF" ,
1801
+ },
1800
1802
undefined ,
1801
1803
undefined ,
1802
1804
undefined ,
Original file line number Diff line number Diff line change @@ -21,18 +21,18 @@ export default class BadgesScreen extends Component {
21
21
22
22
customElement1 = (
23
23
< View row >
24
- < Image source = { bell } />
25
- < Image source = { bell } />
24
+ < Image tintColor = { Colors . $iconDefaultLight } source = { bell } />
25
+ < Image tintColor = { Colors . $iconDefaultLight } source = { bell } />
26
26
</ View >
27
27
) ;
28
28
29
29
customElement2 = (
30
30
< View row >
31
- < Image source = { bell } />
32
- < Text white text90 >
31
+ < Image tintColor = { Colors . $iconSuccessLight } source = { bell } />
32
+ < Text $textSuccessLight text90 >
33
33
37
34
34
</ Text >
35
- < Image source = { bell } />
35
+ < Image tintColor = { Colors . $iconSuccessLight } source = { bell } />
36
36
</ View >
37
37
) ;
38
38
@@ -152,7 +152,7 @@ export default class BadgesScreen extends Component {
152
152
</ Text >
153
153
< View row spread marginH-50 >
154
154
< Badge marginR-10 label = { '17' } customElement = { this . customElement1 } />
155
- < Badge marginR-10 customElement = { this . customElement2 } backgroundColor = { Colors . $backgroundNeutralHeavy } />
155
+ < Badge marginR-10 customElement = { this . customElement2 } backgroundColor = { Colors . $backgroundDisabled } />
156
156
</ View >
157
157
</ ScrollView >
158
158
</ View >
Original file line number Diff line number Diff line change @@ -229,6 +229,7 @@ class Badge extends PureComponent<BadgeProps> {
229
229
< Image
230
230
source = { icon ! }
231
231
resizeMode = "contain"
232
+ tintColor = { Colors . $iconDefaultLight }
232
233
//@ts -ignore
233
234
borderColor = { borderColor }
234
235
{ ...iconProps }
You can’t perform that action at this time.
0 commit comments