removed console logs; added a seconds var for latest transactions refresh
This commit is contained in:
parent
07cd0cbd8f
commit
2ac2822257
@ -18,6 +18,7 @@ export class LatestTransactionsComponent {
|
||||
|
||||
private loading: boolean = true;
|
||||
private transactions: Array<any> = [];
|
||||
private seconds: number = 10;
|
||||
|
||||
constructor(private http: Http, private navCtrl: NavController, private api: ApiProvider, public currency: CurrencyProvider, ngZone: NgZone) {
|
||||
this.loadTransactions();
|
||||
@ -28,7 +29,7 @@ export class LatestTransactionsComponent {
|
||||
this.loadTransactions.call(this);
|
||||
}.bind(this));
|
||||
}.bind(this),
|
||||
1000 * 10
|
||||
1000 * this.seconds
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
@ -20,8 +20,4 @@ export class HomePage {
|
||||
constructor(public navCtrl: NavController, public navParams: NavParams) {
|
||||
}
|
||||
|
||||
public ionViewDidLoad(): void {
|
||||
console.log('ionViewDidLoad HomePage');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -13,7 +13,6 @@ import { ApiProvider } from '../../providers/api/api';
|
||||
export class BlocksProvider {
|
||||
|
||||
constructor(public http: Http, private api: ApiProvider) {
|
||||
console.log('Hello BlocksProvider Provider');
|
||||
}
|
||||
|
||||
public getBlocks(): any {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user