[FIX] Bottom sheet being hidden sometimes (#2722)
This commit is contained in:
parent
a34807d3cd
commit
e64e2787f5
|
@ -1008,12 +1008,7 @@ class RoomView extends React.Component {
|
|||
|
||||
renderActions = () => {
|
||||
const { room, readOnly } = this.state;
|
||||
const {
|
||||
user, navigation
|
||||
} = this.props;
|
||||
if (!navigation.isFocused()) {
|
||||
return null;
|
||||
}
|
||||
const { user } = this.props;
|
||||
return (
|
||||
<>
|
||||
<MessageActions
|
||||
|
|
Loading…
Reference in New Issue