[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 = () => {
|
renderActions = () => {
|
||||||
const { room, readOnly } = this.state;
|
const { room, readOnly } = this.state;
|
||||||
const {
|
const { user } = this.props;
|
||||||
user, navigation
|
|
||||||
} = this.props;
|
|
||||||
if (!navigation.isFocused()) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<MessageActions
|
<MessageActions
|
||||||
|
|
Loading…
Reference in New Issue