Mobile: Disabled solarized themes on mobile

pull/1786/head
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

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