mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Mobile: Fixing mobile plateform detection in settings (#2549)
This commit is contained in:
parent
1df8509e4d
commit
0f28060795
@ -242,7 +242,7 @@ class Setting extends BaseModel {
|
||||
let output = {};
|
||||
output[Setting.THEME_LIGHT] = _('Light');
|
||||
output[Setting.THEME_DARK] = _('Dark');
|
||||
if (platform !== 'mobile') {
|
||||
if (platform !== mobilePlatform) {
|
||||
output[Setting.THEME_DRACULA] = _('Dracula');
|
||||
output[Setting.THEME_SOLARIZED_LIGHT] = _('Solarised Light');
|
||||
output[Setting.THEME_SOLARIZED_DARK] = _('Solarised Dark');
|
||||
|
Loading…
Reference in New Issue
Block a user