[FIX] Bottom sheet being hidden sometimes (#2722)

This commit is contained in:
Diego Mello 2020-12-17 13:55:19 -03:00 committed by GitHub
parent a34807d3cd
commit e64e2787f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 6 deletions

View File

@ -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