expo-image tweaks (#10710)
This commit is contained in:
@@ -83,6 +83,7 @@ function Page({
|
||||
style={[a.w_full, a.aspect_square]}
|
||||
alt={alt}
|
||||
accessibilityIgnoresInvertColors={false} // I guess we do need it to blend into the background
|
||||
useAppleWebpCodec
|
||||
/>
|
||||
{page === 1 && (
|
||||
<Image
|
||||
@@ -97,6 +98,7 @@ function Page({
|
||||
},
|
||||
]}
|
||||
accessibilityIgnoresInvertColors
|
||||
useAppleWebpCodec
|
||||
alt={_(msg`Your profile picture`)}
|
||||
/>
|
||||
)}
|
||||
|
||||
@@ -105,6 +105,7 @@ function GermLogo({size}: {size: 'small' | 'large'}) {
|
||||
source={require('../../../../assets/images/germ_logo.webp')}
|
||||
accessibilityIgnoresInvertColors={false}
|
||||
contentFit="cover"
|
||||
useAppleWebpCodec
|
||||
style={[
|
||||
a.rounded_full,
|
||||
size === 'large' ? {width: 32, height: 32} : {width: 16, height: 16},
|
||||
|
||||
Reference in New Issue
Block a user