mirror of https://github.com/laurent22/joplin.git
Mobile: Disabled solarized themes on mobile
parent
bdd8eab87e
commit
87a639df2b
|
@ -123,7 +123,7 @@ class NoteListComponent extends Component {
|
|||
} else {
|
||||
const noItemMessage = _('There are currently no notes. Create one by clicking on the (+) button.');
|
||||
return <Text style={this.styles().noItemMessage}>{noItemMessage}</Text>;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -217,8 +217,10 @@ class Setting extends BaseModel {
|
|||
let output = {};
|
||||
output[Setting.THEME_LIGHT] = _('Light');
|
||||
output[Setting.THEME_DARK] = _('Dark');
|
||||
output[Setting.THEME_SOLARIZED_LIGHT] = _('Solarised Light');
|
||||
output[Setting.THEME_SOLARIZED_DARK] = _('Solarised Dark');
|
||||
if (platform === 'desktop') {
|
||||
output[Setting.THEME_SOLARIZED_LIGHT] = _('Solarised Light');
|
||||
output[Setting.THEME_SOLARIZED_DARK] = _('Solarised Dark');
|
||||
}
|
||||
return output;
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue