[accelerator] play sound on invoice paid

This commit is contained in:
Mononaut
2024-06-30 10:04:24 +00:00
parent 9140bcb408
commit a80372f335
2 changed files with 7 additions and 1 deletions

View File

@@ -460,6 +460,12 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
});
}
bitcoinPaymentCompleted(): void {
this.audioService.playSound('ascend-chime-cartoon');
this.estimateSubscription.unsubscribe();
this.moveToStep('paid')
}
isLoggedIn(): boolean {
const auth = this.storageService.getAuth();
return auth !== null;