mirror of https://github.com/BTCPrivate/copay.git
Fix Amount view if the back arrow disappears
This commit is contained in:
parent
59d843fcb1
commit
d89cf57ef6
|
@ -21,7 +21,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
$scope.glideraAccessToken = data.stateParams.glideraAccessToken;
|
||||
|
||||
$scope.cardId = data.stateParams.cardId;
|
||||
$scope.showMenu = $ionicHistory.backView().stateName == 'tabs.send';
|
||||
$scope.showMenu = $ionicHistory.backView() && $ionicHistory.backView().stateName == 'tabs.send';
|
||||
var isWallet = data.stateParams.isWallet || 'false';
|
||||
$scope.isWallet = (isWallet.toString().trim().toLowerCase() == 'true' ? true : false);
|
||||
$scope.toAddress = data.stateParams.toAddress;
|
||||
|
|
Loading…
Reference in New Issue