Use needsBackup variable inside the wallet instead check storage
This commit is contained in:
parent
8191701fb3
commit
4235b86f52
2 changed files with 1 additions and 4 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue