Skip to content

Commit 54940e4

Browse files
authored
Update normalizeColorObject (#1845)
1 parent 6659de8 commit 54940e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Libraries/StyleSheet/PlatformColorValueTypes.macos.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,12 @@ export const normalizeColorObject = (
9797
'colorWithSystemEffect' in color &&
9898
color.colorWithSystemEffect != null
9999
) {
100-
const processColor = require('./processColor').default;
100+
const normalizeColor = require('./normalizeColor');
101101
const colorWithSystemEffect = color.colorWithSystemEffect;
102102
const colorObject: NativeColorValue = {
103103
colorWithSystemEffect: {
104104
// $FlowFixMe[incompatible-use]
105-
baseColor: processColor(colorWithSystemEffect.baseColor),
105+
baseColor: normalizeColor(colorWithSystemEffect.baseColor),
106106
// $FlowFixMe[incompatible-use]
107107
systemEffect: colorWithSystemEffect.systemEffect,
108108
},

0 commit comments

Comments
 (0)