Merge pull request #416 from gabrielbazan7/fix/sendTip2

fix send tips
This commit is contained in:
Gustavo Maximiliano Cortez 2016-10-12 16:04:53 -03:00 committed by GitHub
commit 61c700e6c8
2 changed files with 8 additions and 2 deletions

View file

@ -114,6 +114,9 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
if (!wallets || !wallets.length) {
$scope.hasFunds = false;
$timeout(function() {
$scope.$apply();
});
}
var index = 0;
@ -130,6 +133,9 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
}
if (index == wallets.length) {
$scope.hasFunds = $scope.hasFunds || false;
$timeout(function() {
$scope.$apply();
});
}
});
});

View file

@ -2,8 +2,8 @@
<ion-nav-bar class="bar-royal">
<ion-nav-title>{{'Send' | translate}}</ion-nav-title>
</ion-nav-bar>
<ion-content scroll="false">
<div class="ng-hide zero-state" ng-show="!hasFunds">
<ion-content scroll="false" class="ng-hide" ng-show="!hasFunds">
<div class="zero-state">
<i class="icon zero-state-icon">
<img src="img/tab-icons/ico-send-selected.svg"/>
</i>