[FIX] Draft messages not working with themed Messagebox (#1525)

This commit is contained in:
Diego Mello 2020-01-07 10:58:47 -03:00 committed by GitHub
parent e92d171a2b
commit 16652241a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,6 @@ import {
MENTIONS_TRACKING_TYPE_USERS
} from './constants';
import CommandsPreview from './CommandsPreview';
import { withTheme } from '../../theme';
const imagePickerConfig = {
cropping: true,
@ -888,4 +887,4 @@ const dispatchToProps = ({
typing: (rid, status) => userTypingAction(rid, status)
});
export default connect(mapStateToProps, dispatchToProps, null, { forwardRef: true })(withTheme(MessageBox));
export default connect(mapStateToProps, dispatchToProps, null, { forwardRef: true })(MessageBox);

View File

@ -813,6 +813,7 @@ class RoomView extends React.Component {
tmid={this.tmid}
roomType={room.t}
isFocused={navigation.isFocused}
theme={theme}
message={selectedMessage}
editing={editing}
editRequest={this.onEditRequest}