Skip to content

Commit 70da6f1

Browse files
committed
chore: update video message indicator
1 parent 15713e5 commit 70da6f1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/uikit-react-native/src/components/MessageRenderer/FileMessage/VideoFileMessage.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,14 @@ const VideoFileMessage = ({ message }: FileMessageProps) => {
3535
});
3636
}, []);
3737

38-
if (state.loading) {
38+
if (state.loading || state.imageNotFound) {
3939
return (
4040
<View style={[style, styles.container]}>
4141
<PlayIcon />
4242
</View>
4343
);
4444
}
4545

46-
if (state.imageNotFound) {
47-
return <Icon containerStyle={style} icon={'thumbnail-none'} size={48} color={colors.onBackground02} />;
48-
}
49-
5046
return (
5147
<View style={styles.container}>
5248
<Image

0 commit comments

Comments
 (0)