Fixed CropImage modal aspect ratio buttons visibility in dark mode (#1730)
This commit is contained in:
@@ -100,7 +100,7 @@ export function Component({
|
|||||||
accessibilityHint="Sets image aspect ratio to wide">
|
accessibilityHint="Sets image aspect ratio to wide">
|
||||||
<RectWideIcon
|
<RectWideIcon
|
||||||
size={24}
|
size={24}
|
||||||
style={as === AspectRatio.Wide ? s.blue3 : undefined}
|
style={as === AspectRatio.Wide ? s.blue3 : pal.text}
|
||||||
/>
|
/>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
@@ -110,7 +110,7 @@ export function Component({
|
|||||||
accessibilityHint="Sets image aspect ratio to tall">
|
accessibilityHint="Sets image aspect ratio to tall">
|
||||||
<RectTallIcon
|
<RectTallIcon
|
||||||
size={24}
|
size={24}
|
||||||
style={as === AspectRatio.Tall ? s.blue3 : undefined}
|
style={as === AspectRatio.Tall ? s.blue3 : pal.text}
|
||||||
/>
|
/>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
@@ -120,7 +120,7 @@ export function Component({
|
|||||||
accessibilityHint="Sets image aspect ratio to square">
|
accessibilityHint="Sets image aspect ratio to square">
|
||||||
<SquareIcon
|
<SquareIcon
|
||||||
size={24}
|
size={24}
|
||||||
style={as === AspectRatio.Square ? s.blue3 : undefined}
|
style={as === AspectRatio.Square ? s.blue3 : pal.text}
|
||||||
/>
|
/>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Reference in New Issue
Block a user