import { settingsRegistry } from '.'; export const createMobileSettings = () => settingsRegistry.addGroup('Mobile', async function () { await this.add('Allow_Save_Media_to_Gallery', true, { type: 'boolean', public: true, }); await this.section('Screen_Lock', async function () { await this.add('Force_Screen_Lock', false, { type: 'boolean', i18nDescription: 'Force_Screen_Lock_description', public: true, }); await this.add('Force_Screen_Lock_After', 1800, { type: 'int', i18nDescription: 'Force_Screen_Lock_After_description', enableQuery: { _id: 'Force_Screen_Lock', value: true }, public: true, }); }); });