1
0
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:
Henry Heino 2024-12-23 13:11:41 -08:00
parent 197cea7791
commit 371ff93338

View File

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