You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-21 23:17:42 +02:00
Desktop: UI update (#3586)
This commit is contained in:
@ -24,7 +24,7 @@ class DropboxLoginScreenComponent extends BaseScreenComponent {
|
||||
}
|
||||
|
||||
styles() {
|
||||
const themeId = this.props.theme;
|
||||
const themeId = this.props.themeId;
|
||||
const theme = themeStyle(themeId);
|
||||
|
||||
if (this.styles_[themeId]) return this.styles_[themeId];
|
||||
@ -48,7 +48,7 @@ class DropboxLoginScreenComponent extends BaseScreenComponent {
|
||||
}
|
||||
|
||||
render() {
|
||||
const theme = themeStyle(this.props.theme);
|
||||
const theme = themeStyle(this.props.themeId);
|
||||
|
||||
return (
|
||||
<View style={this.styles().screen}>
|
||||
@ -83,7 +83,7 @@ class DropboxLoginScreenComponent extends BaseScreenComponent {
|
||||
|
||||
const DropboxLoginScreen = connect(state => {
|
||||
return {
|
||||
theme: state.settings.theme,
|
||||
themeId: state.settings.theme,
|
||||
};
|
||||
})(DropboxLoginScreenComponent);
|
||||
|
||||
|
Reference in New Issue
Block a user