We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15713e5 commit 70da6f1Copy full SHA for 70da6f1
packages/uikit-react-native/src/components/MessageRenderer/FileMessage/VideoFileMessage.tsx
@@ -35,18 +35,14 @@ const VideoFileMessage = ({ message }: FileMessageProps) => {
35
});
36
}, []);
37
38
- if (state.loading) {
+ if (state.loading || state.imageNotFound) {
39
return (
40
<View style={[style, styles.container]}>
41
<PlayIcon />
42
</View>
43
);
44
}
45
46
- if (state.imageNotFound) {
47
- return <Icon containerStyle={style} icon={'thumbnail-none'} size={48} color={colors.onBackground02} />;
48
- }
49
-
50
51
<View style={styles.container}>
52
<Image
0 commit comments