mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
lock on system locked
This commit is contained in:
@@ -60,10 +60,16 @@ export class SettingsComponent implements OnInit {
|
||||
{ name: i18nService.t('fourHours'), value: 240 },
|
||||
{ name: i18nService.t('onIdle'), value: -4 },
|
||||
{ name: i18nService.t('onSleep'), value: -3 },
|
||||
// { name: i18nService.t('onLocked'), value: -2 },
|
||||
];
|
||||
|
||||
if (this.platformUtilsService.getDevice() !== DeviceType.LinuxDesktop) {
|
||||
this.lockOptions.push({ name: i18nService.t('onLocked'), value: -2 });
|
||||
}
|
||||
|
||||
this.lockOptions = this.lockOptions.concat([
|
||||
{ name: i18nService.t('onRestart'), value: -1 },
|
||||
{ name: i18nService.t('never'), value: null },
|
||||
];
|
||||
]);
|
||||
|
||||
const localeOptions: any[] = [];
|
||||
i18nService.supportedTranslationLocales.forEach((locale) => {
|
||||
|
||||
Reference in New Issue
Block a user