Unverified Commit 16652241 authored by Diego Mello's avatar Diego Mello Committed by GitHub
Browse files

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

parent e92d171a
......@@ -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);
......@@ -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}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment