[FIX] Show attachment on ThreadMessagesView (#1493)
This commit is contained in:
parent
71bcef1510
commit
514e73c711
|
@ -253,6 +253,11 @@ class ThreadMessagesView extends React.Component {
|
|||
return null;
|
||||
}
|
||||
|
||||
showAttachment = (attachment) => {
|
||||
const { navigation } = this.props;
|
||||
navigation.navigate('AttachmentView', { attachment });
|
||||
}
|
||||
|
||||
onThreadPress = debounce((item) => {
|
||||
const { navigation } = this.props;
|
||||
navigation.push('RoomView', {
|
||||
|
@ -307,6 +312,7 @@ class ThreadMessagesView extends React.Component {
|
|||
useRealName={useRealName}
|
||||
getCustomEmoji={this.getCustomEmoji}
|
||||
navToRoomInfo={this.navToRoomInfo}
|
||||
showAttachment={this.showAttachment}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue