UNPKG

copay-crown

Version:

A Secure Crown Wallet

58 lines (57 loc) 2.21 kB
<ion-header> <ion-navbar> <ion-title>{{'Wallet Settings'|translate}}</ion-title> </ion-navbar> </ion-header> <ion-content> <page-wallet-item [wallet]="wallet"></page-wallet-item> <ion-list> <button ion-item (click)="openWalletName()"> <h2 translate>Name</h2> <ion-note item-end> {{walletName}} </ion-note> </button> <button ion-item (click)="openWalletColor()"> <h2 translate>Color</h2> </button> <ion-item> <ion-label translate>Hide Balance</ion-label> <ion-toggle [(ngModel)]="hiddenBalance" (ionChange)="hiddenBalanceChange()"></ion-toggle> </ion-item> <ion-item-divider translate>Security</ion-item-divider> <button ion-item (click)="openBackupSettings()"> <h2 translate>Backup</h2> <ion-note *ngIf="needsBackup" class="assertive" item-end translate> Backup needed </ion-note> </button> <div *ngIf="canSign"> <ion-item> <ion-label [ngClass]="{'disabled': needsBackup}" translate>Request Spending Password</ion-label> <ion-toggle [(ngModel)]="encryptEnabled" (ionChange)="encryptChange()" [disabled]="needsBackup"></ion-toggle> </ion-item> <ion-item-divider text-wrap> <span class="item-text" translate> If enabled, all sensitive information (private key and recovery phrase) and actions (spending and exporting) associated with this wallet will be protected. </span> <a (click)="openSupportSpendingPassword()" translate>Learn more</a> <div class="assertive" *ngIf="needsBackup" translate> Complete the backup process to use this option </div> </ion-item-divider> </div> <div *ngIf="canSign && touchIdAvailable"> <ion-item> <ion-label [ngClass]="{'disabled': needsBackup}" translate>Request Fingerprint</ion-label> <ion-toggle [(ngModel)]="touchIdEnabled" (ionChange)="touchIdChange()"></ion-toggle> </ion-item> </div> <ion-item-divider></ion-item-divider> <button ion-item (click)="openAdvancedSettings()"> <h2 translate>More Options</h2> </button> <ion-item-divider></ion-item-divider> </ion-list> </ion-content>