dont show clear clipboard options for safari

This commit is contained in:
Kyle Spearrin 2019-03-05 09:26:57 -05:00
parent 97b5a417a5
commit 9e24616bf9
2 changed files with 3 additions and 2 deletions

View File

@ -36,7 +36,7 @@
</div>
<div class="box-footer">{{'defaultUriMatchDetectionDesc' | i18n}}</div>
</div>
<div class="box">
<div class="box" *ngIf="showClearClipboard">
<div class="box-content">
<div class="box-content-row" appBoxRow>
<label for="clearClipboard">{{'clearClipboard' | i18n}}</label>

View File

@ -30,6 +30,7 @@ export class OptionsComponent implements OnInit {
dontShowCards = false;
dontShowIdentities = false;
showDisableContextMenu = true;
showClearClipboard = true;
theme: string;
themeOptions: any[];
defaultUriMatch = UriMatchType.Domain;
@ -66,7 +67,7 @@ export class OptionsComponent implements OnInit {
}
async ngOnInit() {
this.showDisableContextMenu = !this.platformUtilsService.isSafari();
this.showDisableContextMenu = this.showClearClipboard = !this.platformUtilsService.isSafari();
this.enableAutoFillOnPageLoad = await this.storageService.get<boolean>(
ConstantsService.enableAutoFillOnPageLoadKey);