[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) => {
|
handleActionPress = (actionIndex) => {
|
||||||
const { actionsHide } = this.props;
|
if (actionIndex) {
|
||||||
switch (actionIndex) {
|
switch (actionIndex) {
|
||||||
case this.REPLY_INDEX:
|
case this.REPLY_INDEX:
|
||||||
this.handleReply();
|
this.handleReply();
|
||||||
|
@ -330,6 +330,8 @@ export default class MessageActions extends React.Component {
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
const { actionsHide } = this.props;
|
||||||
actionsHide();
|
actionsHide();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue