commit
61c700e6c8
2 changed files with 8 additions and 2 deletions
|
|
@ -114,6 +114,9 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
||||||
|
|
||||||
if (!wallets || !wallets.length) {
|
if (!wallets || !wallets.length) {
|
||||||
$scope.hasFunds = false;
|
$scope.hasFunds = false;
|
||||||
|
$timeout(function() {
|
||||||
|
$scope.$apply();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
var index = 0;
|
var index = 0;
|
||||||
|
|
@ -130,6 +133,9 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
||||||
}
|
}
|
||||||
if (index == wallets.length) {
|
if (index == wallets.length) {
|
||||||
$scope.hasFunds = $scope.hasFunds || false;
|
$scope.hasFunds = $scope.hasFunds || false;
|
||||||
|
$timeout(function() {
|
||||||
|
$scope.$apply();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
<ion-nav-bar class="bar-royal">
|
<ion-nav-bar class="bar-royal">
|
||||||
<ion-nav-title>{{'Send' | translate}}</ion-nav-title>
|
<ion-nav-title>{{'Send' | translate}}</ion-nav-title>
|
||||||
</ion-nav-bar>
|
</ion-nav-bar>
|
||||||
<ion-content scroll="false">
|
<ion-content scroll="false" class="ng-hide" ng-show="!hasFunds">
|
||||||
<div class="ng-hide zero-state" ng-show="!hasFunds">
|
<div class="zero-state">
|
||||||
<i class="icon zero-state-icon">
|
<i class="icon zero-state-icon">
|
||||||
<img src="img/tab-icons/ico-send-selected.svg"/>
|
<img src="img/tab-icons/ico-send-selected.svg"/>
|
||||||
</i>
|
</i>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue