32 lines
1.1 KiB
HTML
32 lines
1.1 KiB
HTML
<h2 mat-dialog-title class="text">Settings</h2>
|
|
|
|
<mat-dialog-content [formGroup]="settingsForm">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Name</mat-label>
|
|
<input matInput placeholder="Name" formControlName="name">
|
|
</mat-form-field>
|
|
<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>
|
|
<mat-slide-toggle formControlName="useZats" (change)="onChange($event)">
|
|
Display Zcash amount in zatoshis?
|
|
</mat-slide-toggle>
|
|
<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>
|
|
</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>
|