1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Mobile: Fixes #1910: Make sure side bar text is white when dark theme is used

This commit is contained in:
Laurent Cozic 2019-10-12 20:55:59 +02:00
parent 47aaf639b3
commit ec67bc7f1a

View File

@ -35,11 +35,13 @@ class SideMenuContentNoteComponent extends Component {
fontSize: 22, fontSize: 22,
color: theme.color, color: theme.color,
}, },
sideButtonText: {
color: theme.color,
},
}; };
styles.sideButton = Object.assign({}, styles.button, { flex: 0 }); styles.sideButton = Object.assign({}, styles.button, { flex: 0 });
styles.sideButtonDisabled = Object.assign({}, styles.sideButton, { opacity: 0.6 }); styles.sideButtonDisabled = Object.assign({}, styles.sideButton, { opacity: 0.6 });
styles.sideButtonText = Object.assign({}, styles.buttonText);
this.styles_[this.props.theme] = StyleSheet.create(styles); this.styles_[this.props.theme] = StyleSheet.create(styles);
return this.styles_[this.props.theme]; return this.styles_[this.props.theme];