diff options
author | dan <dan.abramov@gmail.com> | 2023-11-03 02:33:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-02 19:33:18 -0700 |
commit | 8747c215b1735e9074fbfd43003d72793498e125 (patch) | |
tree | 7b8ba3965676fb03b7e5c12f32b2bb298038c191 /src/view/shell/Drawer.tsx | |
parent | 5e2025e60a3405ddca2ea4e7dea7278c9e8b16c4 (diff) | |
download | voidsky-8747c215b1735e9074fbfd43003d72793498e125.tar.zst |
Work around a startup stall caused by expo-image on low-end Android (#1801)
* Use plain RN image for startup-blocking UI * Add comments
Diffstat (limited to 'src/view/shell/Drawer.tsx')
-rw-r--r-- | src/view/shell/Drawer.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/view/shell/Drawer.tsx b/src/view/shell/Drawer.tsx index 95b79faa1..c2d307f59 100644 --- a/src/view/shell/Drawer.tsx +++ b/src/view/shell/Drawer.tsx @@ -158,7 +158,12 @@ export const DrawerContent = observer(function DrawerContentImpl() { accessibilityLabel="Profile" accessibilityHint="Navigates to your profile" onPress={onPressProfile}> - <UserAvatar size={80} avatar={store.me.avatar} /> + <UserAvatar + size={80} + avatar={store.me.avatar} + // See https://github.com/bluesky-social/social-app/pull/1801: + usePlainRNImage={true} + /> <Text type="title-lg" style={[pal.text, s.bold, styles.profileCardDisplayName]} |