about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-01-22 18:58:42 +0000
committerGitHub <noreply@github.com>2025-01-22 18:58:42 +0000
commit9e1cd11e227450c489c71d60efd11b5d855862c4 (patch)
treeb5e0a29232a71df7f796a51e8d196504ecd874d6
parentd4cf6752dd2829b132dae6ecc64649dbc7dc5c50 (diff)
downloadvoidsky-9e1cd11e227450c489c71d60efd11b5d855862c4.tar.zst
fix deprecation warning (#7540)
-rw-r--r--src/view/com/util/UserBanner.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/util/UserBanner.tsx b/src/view/com/util/UserBanner.tsx
index 7e71a04e9..1e9a39607 100644
--- a/src/view/com/util/UserBanner.tsx
+++ b/src/view/com/util/UserBanner.tsx
@@ -170,7 +170,7 @@ export function UserBanner({
         styles.bannerImage,
         {backgroundColor: theme.palette.default.backgroundLight},
       ]}
-      resizeMode="cover"
+      contentFit="cover"
       source={{uri: banner}}
       blurRadius={moderation?.blur ? 100 : 0}
       accessible={true}