[FIX] Draft messages not working with themed Messagebox (#1525)
This commit is contained in:
parent
e92d171a2b
commit
16652241a8
|
@ -42,7 +42,6 @@ import {
|
||||||
MENTIONS_TRACKING_TYPE_USERS
|
MENTIONS_TRACKING_TYPE_USERS
|
||||||
} from './constants';
|
} from './constants';
|
||||||
import CommandsPreview from './CommandsPreview';
|
import CommandsPreview from './CommandsPreview';
|
||||||
import { withTheme } from '../../theme';
|
|
||||||
|
|
||||||
const imagePickerConfig = {
|
const imagePickerConfig = {
|
||||||
cropping: true,
|
cropping: true,
|
||||||
|
@ -888,4 +887,4 @@ const dispatchToProps = ({
|
||||||
typing: (rid, status) => userTypingAction(rid, status)
|
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}
|
tmid={this.tmid}
|
||||||
roomType={room.t}
|
roomType={room.t}
|
||||||
isFocused={navigation.isFocused}
|
isFocused={navigation.isFocused}
|
||||||
|
theme={theme}
|
||||||
message={selectedMessage}
|
message={selectedMessage}
|
||||||
editing={editing}
|
editing={editing}
|
||||||
editRequest={this.onEditRequest}
|
editRequest={this.onEditRequest}
|
||||||
|
|
Loading…
Reference in New Issue