1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-05 22:57:29 +02:00

Mobile : Disabled the header items when no note is selected (#2988)

This commit is contained in:
Rahul Mohata
2020-05-09 20:31:39 +05:30
committed by GitHub
parent 57cf826e2c
commit 20e065a371
2 changed files with 15 additions and 10 deletions

View File

@@ -112,6 +112,7 @@ class Dropdown extends React.Component {
<TouchableOpacity
style={headerWrapperStyle}
ref={ref => (this.headerRef_ = ref)}
disabled={this.props.disabled}
onPress={() => {
this.updateHeaderCoordinates();
this.setState({ listVisible: true });