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

Mobile: Disabled solarized themes on mobile

This commit is contained in:
Laurent Cozic 2019-07-30 11:37:52 +02:00
parent bdd8eab87e
commit 87a639df2b
2 changed files with 5 additions and 3 deletions

View File

@ -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>;
}
}
}
}
}

View File

@ -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;
},
},