Network based blockchain colors.

This commit is contained in:
softsimon
2020-05-10 21:34:25 +07:00
parent 50f98807a3
commit 4d53e897b4
4 changed files with 16 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
<ng-container *ngIf="(viewFiat$ | async) && (conversions$ | async) as conversions; else viewFiatVin">
<ng-container *ngIf="!noFiat && (viewFiat$ | async) && (conversions$ | async) as conversions; else viewFiatVin">
<span>{{ conversions.USD * (satoshis / 100000000) | currency:'USD':'symbol':'1.2-2' }}</span>
</ng-container>
<ng-template #viewFiatVin>

View File

@@ -15,6 +15,7 @@ export class AmountComponent implements OnInit {
@Input() satoshis: number;
@Input() digitsInfo = '1.8-8';
@Input() noFiat = false;
constructor(
private stateService: StateService,