mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-21 09:38:01 +02:00
55cafb8891
Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
9 lines
253 B
TypeScript
9 lines
253 B
TypeScript
import Setting from '@joplin/lib/models/Setting';
|
|
import shim from '@joplin/lib/shim';
|
|
|
|
const isInstallingPluginsAllowed = () => {
|
|
return shim.mobilePlatform() !== 'ios' || Setting.value('env') === 'dev';
|
|
};
|
|
|
|
export default isInstallingPluginsAllowed;
|