mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 10:43:35 +00:00
cleanup safari specific features
This commit is contained in:
@@ -68,7 +68,7 @@ export class OptionsComponent implements OnInit {
|
||||
}
|
||||
|
||||
async ngOnInit() {
|
||||
this.showDisableContextMenu = this.showClearClipboard = !this.platformUtilsService.isSafari();
|
||||
this.showDisableContextMenu = !this.platformUtilsService.isSafari();
|
||||
|
||||
this.enableAutoFillOnPageLoad = await this.storageService.get<boolean>(
|
||||
ConstantsService.enableAutoFillOnPageLoadKey);
|
||||
|
||||
@@ -94,7 +94,7 @@ export class SettingsComponent implements OnInit {
|
||||
}
|
||||
|
||||
async saveLockOption(newValue: number) {
|
||||
if (newValue == null && !this.platformUtilsService.isSafari()) {
|
||||
if (newValue == null) {
|
||||
const confirmed = await this.platformUtilsService.showDialog(
|
||||
this.i18nService.t('neverLockWarning'), null,
|
||||
this.i18nService.t('yes'), this.i18nService.t('cancel'), 'warning');
|
||||
|
||||
Reference in New Issue
Block a user