[FIX] "Sent an attachment" text on media preview for threads (#3947)
* update: `Content` component * update: `Message` snapshots
This commit is contained in:
parent
4d3c440892
commit
9a17ce91a8
|
@ -39,9 +39,7 @@ const Content = React.memo(
|
|||
const isPreview: any = props.tmid && !props.isThreadRoom;
|
||||
let content = null;
|
||||
|
||||
if (props.tmid && !props.msg) {
|
||||
content = <Text style={[styles.text, { color: themes[props.theme].bodyText }]}>{I18n.t('Sent_an_attachment')}</Text>;
|
||||
} else if (props.isEncrypted) {
|
||||
if (props.isEncrypted) {
|
||||
content = (
|
||||
<Text
|
||||
style={[styles.textInfo, { color: themes[props.theme].auxiliaryText }]}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue