mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #234 from cmgustavo/ref/design-65
Fix tab-receive on mobile
This commit is contained in:
commit
439ff05256
|
@ -38,9 +38,7 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
||||||
if (err) popupService.showAlert(gettextCatalog.getString('Error'), err);
|
if (err) popupService.showAlert(gettextCatalog.getString('Error'), err);
|
||||||
$scope.addr = addr;
|
$scope.addr = addr;
|
||||||
if ($scope.wallet.showBackupNeededModal) $scope.openBackupNeededModal();
|
if ($scope.wallet.showBackupNeededModal) $scope.openBackupNeededModal();
|
||||||
$timeout(function() {
|
|
||||||
$scope.$apply();
|
$scope.$apply();
|
||||||
}, 100);
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -94,9 +92,8 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
||||||
}
|
}
|
||||||
$scope.wallet = wallet;
|
$scope.wallet = wallet;
|
||||||
$log.debug('Wallet changed: ' + wallet.name);
|
$log.debug('Wallet changed: ' + wallet.name);
|
||||||
$scope.setAddress();
|
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$scope.$apply();
|
$scope.setAddress();
|
||||||
}, 100);
|
}, 100);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue