Fixed CropImage modal aspect ratio buttons visibility in dark mode (#1730)

zio/stable
elliot 2023-10-25 12:41:56 -04:00 committed by GitHub
parent 4a4be1de1a
commit 3426b24f67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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>