Merge pull request #234 from cmgustavo/ref/design-65

Fix tab-receive on mobile
This commit is contained in:
Gustavo Maximiliano Cortez 2016-09-30 17:19:01 -03:00 committed by GitHub
commit 439ff05256
1 changed files with 2 additions and 5 deletions

View File

@ -38,9 +38,7 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
if (err) popupService.showAlert(gettextCatalog.getString('Error'), err);
$scope.addr = addr;
if ($scope.wallet.showBackupNeededModal) $scope.openBackupNeededModal();
$timeout(function() {
$scope.$apply();
}, 100);
$scope.$apply();
});
};
@ -94,9 +92,8 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
}
$scope.wallet = wallet;
$log.debug('Wallet changed: ' + wallet.name);
$scope.setAddress();
$timeout(function() {
$scope.$apply();
$scope.setAddress();
}, 100);
});