This commit is contained in:
Gabriel Bazán 2016-09-22 16:50:06 -03:00
commit 8f40484a71
4 changed files with 10 additions and 13 deletions

View file

@ -3,12 +3,11 @@
angular.module('copayApp.controllers').controller('copayersController',
function($scope, $log, $ionicNavBarDelegate, $timeout, $stateParams, $state, $rootScope, $ionicHistory, lodash, profileService, walletService, popupService, platformInfo, gettextCatalog, ongoingProcess) {
$scope.$on("$ionicView.enter", function(event, data) {
$scope.$on("$ionicView.beforeEnter", function(event, data) {
init();
});
var init = function() {
$scope.fromAddShared = $stateParams.fromAddShared;
$scope.isCordova = platformInfo.isCordova;
$scope.wallet = profileService.getWallet($stateParams.walletId);
updateWallet();