Merge pull request #5042 from cmgustavo/bug/backup-needed-wallet-details

Use needsBackup flag inside the wallet instead check storage
This commit is contained in:
Javier Donadío 2016-11-15 17:00:19 -03:00 committed by GitHub
commit a25f881cf2
2 changed files with 1 additions and 4 deletions

View file

@ -298,9 +298,6 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
$scope.$on("$ionicView.beforeEnter", function(event, data) {
$scope.walletId = data.stateParams.walletId;
storageService.getBackupFlag($scope.walletId, function(err, flag) {
$scope.isBackedUp = flag ? true : false;
});
$scope.wallet = profileService.getWallet($scope.walletId);
$scope.requiresMultipleSignatures = $scope.wallet.credentials.m > 1;