Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
RocketChat
Rocket.Chat.ReactNative
Commits
16652241
Unverified
Commit
16652241
authored
Jan 07, 2020
by
Diego Mello
Committed by
GitHub
Jan 07, 2020
Browse files
[FIX] Draft messages not working with themed Messagebox (#1525)
parent
e92d171a
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/containers/MessageBox/index.js
View file @
16652241
...
...
@@ -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
);
app/views/RoomView/index.js
View file @
16652241
...
...
@@ -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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment