Address tracking and notification sounds.

This commit is contained in:
softsimon
2020-02-26 04:29:57 +07:00
parent b45f5c31cd
commit 12c9b80a64
13 changed files with 110 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
import { Component, OnInit, Input, ChangeDetectionStrategy, OnChanges, ChangeDetectorRef } from '@angular/core';
import { StateService } from '../../services/state.service';
import { Observable, forkJoin } from 'rxjs';
import { Block, Outspend } from '../../interfaces/electrs.interface';
import { Block, Outspend, Transaction } from '../../interfaces/electrs.interface';
import { ElectrsApiService } from '../../services/electrs-api.service';
@Component({
@@ -62,7 +62,7 @@ export class TransactionsListComponent implements OnInit, OnChanges {
this.stateService.viewFiat$.next(oldvalue);
}
trackByFn(index: number) {
return index;
trackByFn(index: number, tx: Transaction) {
return tx.txid;
}
}