Merge pull request #2915 from cmgustavo/bug/reconnect-02

Disabling unnecessary online/offline events for mobile/desktop
This commit is contained in:
Matias Alejo Garcia 2015-06-28 09:11:32 -03:00
commit 801ad1b798
6 changed files with 5 additions and 42 deletions

View file

@ -74,7 +74,7 @@
<div class="oh">
<div class="amount" ng-style="{'background-color':index.backgroundColor}">
<div ng-if="!index.anyOnGoingProcess && !index.notAuthorized">
<div ng-show="index.updateError" ng-click='index.openWallet()'>
<div ng-show="index.updateError" ng-click='index.openWallet(); index.updateTxHistory()'>
<span translate>Could not update Wallet</span>
<br><span translate>Tap to retry</span>
</div>
@ -84,7 +84,7 @@
<br><span translate>Tap to retry</span>
</div>
<div ng-click='index.updateAll(); index.updateTxHistory()' ng-show="!index.updateError && index.walletScanStatus != 'error'">
<div ng-click='index.updateAll(); index.updateTxHistory()' ng-show="!index.updateError && index.walletScanStatus != 'error'">
<strong class="size-36">{{index.totalBalanceStr}}</strong>
<div class="size-14"
ng-if="index.totalBalanceAlternative">