Bluesky app fork with some witchin' additions 💫

Fix MobX crash for Android lightbox (#1668)

* Fix MobX crash for Android lightbox

* Reorder props to match between forks

authored by danabra.mov and committed by

GitHub aad8d12e 209d8b68

+3 -1
+2 -1
src/view/com/lightbox/ImageViewing/components/ImageItem/ImageItem.android.tsx
··· 307 )} 308 <GestureDetector gesture={composedGesture}> 309 <AnimatedImage 310 - source={imageSrc} 311 contentFit="contain" 312 style={[styles.image, animatedStyle]} 313 accessibilityLabel={imageSrc.alt} 314 accessibilityHint=""
··· 307 )} 308 <GestureDetector gesture={composedGesture}> 309 <AnimatedImage 310 contentFit="contain" 311 + // NOTE: Don't pass imageSrc={imageSrc} or MobX will break. 312 + source={{uri: imageSrc.uri}} 313 style={[styles.image, animatedStyle]} 314 accessibilityLabel={imageSrc.alt} 315 accessibilityHint=""
+1
src/view/com/lightbox/ImageViewing/components/ImageItem/ImageItem.ios.tsx
··· 143 accessibilityHint=""> 144 <AnimatedImage 145 contentFit="contain" 146 source={{uri: imageSrc.uri}} 147 style={[styles.image, animatedStyle]} 148 onLoad={() => setLoaded(true)}
··· 143 accessibilityHint=""> 144 <AnimatedImage 145 contentFit="contain" 146 + // NOTE: Don't pass imageSrc={imageSrc} or MobX will break. 147 source={{uri: imageSrc.uri}} 148 style={[styles.image, animatedStyle]} 149 onLoad={() => setLoaded(true)}