Fix pizza tracker loading state

This commit is contained in:
Mononaut
2024-06-29 04:10:47 +00:00
parent 5872b2c46b
commit 193c41cb81
3 changed files with 17 additions and 10 deletions

View File

@@ -115,7 +115,12 @@
</div>
<div class="bottom-panel">
@if (showAccelerationSummary && !accelerationFlowCompleted) {
@if (isLoading) {
<div class="progress-icon">
<div class="spinner-border text-light" style="width: 1em; height: 1em"></div>
</div>
<span class="explainer">&nbsp;</span>
} @else if (showAccelerationSummary && !accelerationFlowCompleted) {
<ng-container *ngIf="(ETA$ | async) as eta;">
<app-accelerate-checkout *ngIf="(da$ | async) as da;" [forceSummary]="true" [cashappEnabled]="accelerationEligible" [advancedEnabled]="false" [forceMobile]="true" [tx]="tx" [miningStats]="miningStats" [eta]="eta" (close)="accelerationFlowCompleted = true" [scrollEvent]="scrollIntoAccelPreview" class="h-100 w-100"></app-accelerate-checkout>
</ng-container>