mirror of https://github.com/BTCPrivate/copay.git
fix flicker issue
This commit is contained in:
parent
1f64c5adaa
commit
a7c1a3ddd3
|
@ -149,6 +149,9 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
|||
}
|
||||
});
|
||||
});
|
||||
if ($scope.hasFunds != true) {
|
||||
$ionicScrollDelegate.freezeScroll(true);
|
||||
}
|
||||
};
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
|
|
|
@ -71,4 +71,5 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
.scroll{height: 100%;}
|
||||
}
|
||||
|
|
|
@ -2,8 +2,9 @@
|
|||
<ion-nav-bar class="bar-royal">
|
||||
<ion-nav-title>{{'Send' | translate}}</ion-nav-title>
|
||||
</ion-nav-bar>
|
||||
<ion-content scroll="false" class="ng-hide" ng-show="!hasFunds">
|
||||
<div class="zero-state">
|
||||
<ion-content>
|
||||
<div ng-if="hasFunds == false" class="zero-state">
|
||||
<div>
|
||||
<i class="icon zero-state-icon">
|
||||
<img src="img/tab-icons/ico-send-selected.svg"/>
|
||||
</i>
|
||||
|
@ -16,8 +17,8 @@
|
|||
<button class="button button-standard button-secondary" ui-sref="tabs.receive" ng-show="hasWallets" translate>Show bitcoin address</button>
|
||||
</div>
|
||||
</div>
|
||||
</ion-content>
|
||||
<ion-content class="ng-hide has-funds" ng-show="hasFunds">
|
||||
</div>
|
||||
<div ng-if="hasFunds" class="has-funds">
|
||||
<div class="item item-heading send-heading" translate>Recipient</div>
|
||||
<label class="item item-input bitcoin-address">
|
||||
<i class="icon icon-svg placeholder-icon"><img src="img/icon-bitcoin-symbol.svg"></i>
|
||||
|
@ -71,5 +72,6 @@
|
|||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
|
|
Loading…
Reference in New Issue