mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #8016 from gabrielbazan7/fix/updateall1
[V4] FIX: update all
This commit is contained in:
commit
59ed285e86
|
@ -99,13 +99,13 @@ export class HomePage {
|
|||
this.isWindowsPhoneApp = this.platformProvider.isWP;
|
||||
this.showReorderBtc = false;
|
||||
this.showReorderBch = false;
|
||||
this.setWallets();
|
||||
}
|
||||
|
||||
ionViewWillEnter() {
|
||||
this.config = this.configProvider.get();
|
||||
this.wallets = this.profileProvider.getWallets();
|
||||
this.walletsBtc = this.profileProvider.getWallets({ coin: 'btc' });
|
||||
this.walletsBch = this.profileProvider.getWallets({ coin: 'bch' });
|
||||
|
||||
this.setWallets();
|
||||
|
||||
this.recentTransactionsEnabled = this.config.recentTransactions.enabled;
|
||||
if (this.recentTransactionsEnabled) this.getNotifications();
|
||||
|
@ -163,6 +163,12 @@ export class HomePage {
|
|||
this.updateAllWallets();
|
||||
}
|
||||
|
||||
private setWallets(): void {
|
||||
this.wallets = this.profileProvider.getWallets();
|
||||
this.walletsBtc = this.profileProvider.getWallets({ coin: 'btc' });
|
||||
this.walletsBch = this.profileProvider.getWallets({ coin: 'bch' });
|
||||
}
|
||||
|
||||
public checkHomeTip(): void {
|
||||
this.persistenceProvider.getHomeTipAccepted().then((value: string) => {
|
||||
this.homeTip = (value == 'accepted') ? false : true;
|
||||
|
|
Loading…
Reference in New Issue