Showing From wallet in send tab.
This commit is contained in:
parent
dff0d51ef3
commit
be2bc4cddb
1 changed files with 7 additions and 0 deletions
|
|
@ -208,6 +208,13 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
|||
};
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
console.log('tab-send.beforeEnter sendFlowService.fromWalletId:', sendFlowService.fromWalletId);
|
||||
var fromWalletId = sendFlowService.fromWalletId;
|
||||
if (fromWalletId) {
|
||||
$scope.fromWallet = profileService.getWallet(fromWalletId);
|
||||
} else {
|
||||
$scope.fromWallet = null;
|
||||
}
|
||||
$scope.isIOS = platformInfo.isIOS && platformInfo.isCordova;
|
||||
$scope.showWalletsBch = $scope.showWalletsBtc = $scope.showWallets = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue