Adding a third connection state and preventing offline indicator from pushing the menu.
This commit is contained in:
1 parent
91179c8d25
commit
a3e52deb72
7 files changed
+40
-17
No files matched your search
@@ -97,9 +97,9 @@ export class AddressComponent implements OnInit, OnDestroy {
|
||||
this.loadedConfirmedTxCount++;
|
||||
});
|
||||
|
||||
this.stateService.isOffline$
|
||||
this.stateService.connectionState$
|
||||
.subscribe((state) => {
|
||||
if (!state && this.transactions && this.transactions.length) {
|
||||
if (state === 2 && this.transactions && this.transactions.length) {
|
||||
this.loadAddress(this.addressString);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user