expo-image tweaks (#10710)

This commit is contained in:
Samuel Newman
2026-06-04 01:03:11 +03:00
committed by GitHub
parent 57ae26fcaa
commit 153772b760
28 changed files with 43 additions and 10 deletions
@@ -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},