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