2021-10-28 20:34:48 +00:00
|
|
|
<h2 mat-dialog-title class="text">Settings</h2>
|
|
|
|
|
|
|
|
<mat-dialog-content [formGroup]="settingsForm">
|
2021-11-22 20:37:45 +00:00
|
|
|
<mat-form-field appearance="outline">
|
|
|
|
<mat-label>Name</mat-label>
|
2021-10-28 20:34:48 +00:00
|
|
|
<input matInput placeholder="Name" formControlName="name">
|
|
|
|
</mat-form-field>
|
2021-11-22 20:37:45 +00:00
|
|
|
<mat-form-field appearance="outline">
|
|
|
|
<mat-label>Currency</mat-label>
|
|
|
|
<mat-select formControlName="currency">
|
|
|
|
<mat-option *ngFor="let coin of coins" [value]="coin.symbol">
|
|
|
|
{{coin.label}}
|
|
|
|
</mat-option>
|
|
|
|
</mat-select>
|
|
|
|
</mat-form-field>
|
2022-03-07 19:46:00 +00:00
|
|
|
<mat-slide-toggle formControlName="useZats" (change)="onChange($event)">
|
|
|
|
Display Zcash amount in zatoshis?
|
|
|
|
</mat-slide-toggle>
|
2022-07-18 23:41:31 +00:00
|
|
|
<mat-slide-toggle formControlName="VkeyOn" (change)="onChangeVKeyOn($event)">
|
|
|
|
Activate payment confirmation?
|
|
|
|
</mat-slide-toggle>
|
|
|
|
<mat-form-field appearance="outline">
|
|
|
|
<mat-label>Viewing key</mat-label>
|
|
|
|
<input matInput placeholder="Viewing Key" formControlName="vKey">
|
|
|
|
</mat-form-field>
|
2021-10-28 20:34:48 +00:00
|
|
|
</mat-dialog-content>
|
|
|
|
|
|
|
|
<mat-dialog-actions>
|
|
|
|
<button mat-raised-button class="text" (click)="close()">Cancel</button>
|
|
|
|
<button mat-raised-button class="text" color="primary" (click)="save()">Save</button>
|
|
|
|
</mat-dialog-actions>
|