Skip to content

Commit a84391f

Browse files
committed
fix(mobile): show static image loading feedback
1 parent 2b6eb64 commit a84391f

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎apps/mobile/src/features/threads/ThreadFeed.tsx‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,14 @@ function ThreadMarkdownImageRequest(props: {
308308
onError={props.onError}
309309
style={{ width: "100%", height: "100%", opacity: loaded ? 1 : 0 }}
310310
/>
311-
{loaded ? null : <View pointerEvents="none" style={StyleSheet.absoluteFill} />}
311+
{loaded ? null : (
312+
<View
313+
pointerEvents="none"
314+
style={[StyleSheet.absoluteFill, { alignItems: "center", justifyContent: "center" }]}
315+
>
316+
<Text className="text-xs text-foreground-muted">Loading image…</Text>
317+
</View>
318+
)}
312319
</>
313320
);
314321
}

0 commit comments

Comments
 (0)