Merge pull request #2693 from matrix-org/t3chguy/search_toggle

Toggle Search using Room Header button
pull/21833/head
Travis Ralston 2019-02-24 17:41:23 -07:00 committed by GitHub
commit 896a8c1c1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1305,7 +1305,10 @@ module.exports = React.createClass({
},
onSearchClick: function() {
this.setState({ searching: true, showingPinned: false });
this.setState({
searching: !this.state.searching,
showingPinned: false,
});
},
onCancelSearchClick: function() {