mirror of https://github.com/BTCPrivate/copay.git
Fix gravatar on amount/confirm views
This commit is contained in:
parent
104209de5d
commit
ec58b42f3e
|
@ -12,7 +12,7 @@
|
||||||
<div>
|
<div>
|
||||||
<div class="item item-no-bottom-border" translate>Recipient</div>
|
<div class="item item-no-bottom-border" translate>Recipient</div>
|
||||||
|
|
||||||
<div class="item item-text-wrap item-icon-left item-big-icon-left bitcoin-address">
|
<div class="item item-text-wrap item-icon-left bitcoin-address" ng-class="{'item-big-icon-left':isCard}">
|
||||||
<i ng-if="isWallet" class="icon ion-briefcase size-21"></i>
|
<i ng-if="isWallet" class="icon ion-briefcase size-21"></i>
|
||||||
<span ng-if="!isWallet">
|
<span ng-if="!isWallet">
|
||||||
<gravatar ng-if="!isCard" class="send-gravatar" name="{{toName}}" width="30" email="{{toEmail}}"></gravatar>
|
<gravatar ng-if="!isCard" class="send-gravatar" name="{{toName}}" width="30" email="{{toEmail}}"></gravatar>
|
||||||
|
|
|
@ -14,7 +14,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
||||||
angular.element($window).off('keydown');
|
angular.element($window).off('keydown');
|
||||||
});
|
});
|
||||||
|
|
||||||
$scope.$on("$ionicView.enter", function(event, data) {
|
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||||
|
|
||||||
$scope.isWallet = data.stateParams.isWallet;
|
$scope.isWallet = data.stateParams.isWallet;
|
||||||
$scope.isCard = data.stateParams.isCard;
|
$scope.isCard = data.stateParams.isCard;
|
||||||
|
|
|
@ -4,7 +4,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
var cachedTxp = {};
|
var cachedTxp = {};
|
||||||
var isChromeApp = platformInfo.isChromeApp;
|
var isChromeApp = platformInfo.isChromeApp;
|
||||||
|
|
||||||
$scope.$on("$ionicView.enter", function(event, data) {
|
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||||
$scope.isWallet = data.stateParams.isWallet;
|
$scope.isWallet = data.stateParams.isWallet;
|
||||||
$scope.isCard = data.stateParams.isCard;
|
$scope.isCard = data.stateParams.isCard;
|
||||||
$scope.toAmount = data.stateParams.toAmount;
|
$scope.toAmount = data.stateParams.toAmount;
|
||||||
|
|
Loading…
Reference in New Issue