[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
|
||||
} 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}
|
||||
|
|
Loading…
Reference in New Issue