mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-27 10:32:58 +02:00
Display a different setting description on web
This commit is contained in:
parent
197cea7791
commit
371ff93338
@ -933,7 +933,13 @@ const builtInMetadata = (Setting: typeof SettingType) => {
|
||||
// For now, development plugins are only enabled on desktop & web.
|
||||
show: () => shim.isElectron() || shim.mobilePlatform() === 'web',
|
||||
label: () => 'Development plugins',
|
||||
description: () => 'You may add multiple plugin paths, each separated by a comma. You will need to restart the application for the changes to take effect.',
|
||||
description: () => {
|
||||
if (shim.mobilePlatform()) {
|
||||
return 'The path to a plugin\'s development directory. When rebuilt, the plugin will be reloaded.';
|
||||
} else {
|
||||
return 'You may add multiple plugin paths, each separated by a comma. You will need to restart the application for the changes to take effect.';
|
||||
}
|
||||
},
|
||||
storage: SettingStorage.File,
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user