mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
dont show never lock warning on safari
This commit is contained in:
@@ -87,7 +87,7 @@ export class SettingsComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async saveLockOption(newValue: number) {
|
async saveLockOption(newValue: number) {
|
||||||
if (newValue == null) {
|
if (newValue == null && !this.platformUtilsService.isSafari()) {
|
||||||
const confirmed = await this.platformUtilsService.showDialog(
|
const confirmed = await this.platformUtilsService.showDialog(
|
||||||
this.i18nService.t('neverLockWarning'), null,
|
this.i18nService.t('neverLockWarning'), null,
|
||||||
this.i18nService.t('yes'), this.i18nService.t('cancel'), 'warning');
|
this.i18nService.t('yes'), this.i18nService.t('cancel'), 'warning');
|
||||||
|
|||||||
Reference in New Issue
Block a user