Tweaks fee widget

This commit is contained in:
nymkappa
2022-06-01 09:46:52 +02:00
parent 72cc2e4df0
commit cefc927b06
5 changed files with 25 additions and 21 deletions

View File

@@ -15,8 +15,8 @@ export class FeesBoxComponent implements OnInit {
isLoadingWebSocket$: Observable<boolean>;
recommendedFees$: Observable<Recommendedfees>;
defaultFee: number;
startColor = '#557d00';
endColor = '#557d00';
startColor = '#2e324e';
endColor = '#2e324e';
constructor(
private stateService: StateService,
@@ -29,6 +29,7 @@ export class FeesBoxComponent implements OnInit {
this.recommendedFees$ = this.stateService.recommendedFees$
.pipe(
tap((fees) => {
// For quick testing purpose
// fees.fastestFee = 400;
// fees.halfHourFee = 75;
// fees.hourFee = 50;