hide next steps

This commit is contained in:
Matias Alejo Garcia 2017-01-31 16:32:45 -03:00
commit 34bc2ba209
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
5 changed files with 23 additions and 84 deletions

View file

@ -94,7 +94,6 @@ angular.module('copayApp.controllers').controller('tabHomeController',
];
$scope.nextStepsItems = nextStepsService.get();
$scope.buyAndSellItems = buyAndSellService.getLinked();
$scope.homeIntegrations = homeIntegrationsService.get();
@ -107,7 +106,10 @@ angular.module('copayApp.controllers').controller('tabHomeController',
$scope.recentTransactionsEnabled = config.recentTransactions.enabled;
if ($scope.recentTransactionsEnabled) getNotifications();
if ($scope.bitpayCardEnabled) bitpayCardCache();
if (!config.hideNextSteps.enabled) {
$scope.nextStepsItems = nextStepsService.get();
}
$timeout(function() {
$ionicScrollDelegate.resize();
$scope.$apply();