dont show clear clipboard options for safari
This commit is contained in:
parent
97b5a417a5
commit
9e24616bf9
|
@ -36,7 +36,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="box-footer">{{'defaultUriMatchDetectionDesc' | i18n}}</div>
|
<div class="box-footer">{{'defaultUriMatchDetectionDesc' | i18n}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box">
|
<div class="box" *ngIf="showClearClipboard">
|
||||||
<div class="box-content">
|
<div class="box-content">
|
||||||
<div class="box-content-row" appBoxRow>
|
<div class="box-content-row" appBoxRow>
|
||||||
<label for="clearClipboard">{{'clearClipboard' | i18n}}</label>
|
<label for="clearClipboard">{{'clearClipboard' | i18n}}</label>
|
||||||
|
|
|
@ -30,6 +30,7 @@ export class OptionsComponent implements OnInit {
|
||||||
dontShowCards = false;
|
dontShowCards = false;
|
||||||
dontShowIdentities = false;
|
dontShowIdentities = false;
|
||||||
showDisableContextMenu = true;
|
showDisableContextMenu = true;
|
||||||
|
showClearClipboard = true;
|
||||||
theme: string;
|
theme: string;
|
||||||
themeOptions: any[];
|
themeOptions: any[];
|
||||||
defaultUriMatch = UriMatchType.Domain;
|
defaultUriMatch = UriMatchType.Domain;
|
||||||
|
@ -66,7 +67,7 @@ export class OptionsComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
this.showDisableContextMenu = !this.platformUtilsService.isSafari();
|
this.showDisableContextMenu = this.showClearClipboard = !this.platformUtilsService.isSafari();
|
||||||
|
|
||||||
this.enableAutoFillOnPageLoad = await this.storageService.get<boolean>(
|
this.enableAutoFillOnPageLoad = await this.storageService.get<boolean>(
|
||||||
ConstantsService.enableAutoFillOnPageLoadKey);
|
ConstantsService.enableAutoFillOnPageLoadKey);
|
||||||
|
|
Loading…
Reference in New Issue