[FIX] Back button press on message actions (#592)
This commit is contained in:
parent
e416fe0c68
commit
afe4ad7e3d
|
@ -295,7 +295,7 @@ export default class MessageActions extends React.Component {
|
|||
}
|
||||
|
||||
handleActionPress = (actionIndex) => {
|
||||
const { actionsHide } = this.props;
|
||||
if (actionIndex) {
|
||||
switch (actionIndex) {
|
||||
case this.REPLY_INDEX:
|
||||
this.handleReply();
|
||||
|
@ -330,6 +330,8 @@ export default class MessageActions extends React.Component {
|
|||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
const { actionsHide } = this.props;
|
||||
actionsHide();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue