From 2230d5b666ac1d286947765810de0805069e19fd Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Thu, 15 Sep 2016 09:58:57 -0300 Subject: [PATCH] Fix tips --- public/views/tab-receive.html | 6 +++--- src/js/controllers/tab-receive.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/views/tab-receive.html b/public/views/tab-receive.html index 43f3eb9f1..8ebd4b242 100644 --- a/public/views/tab-receive.html +++ b/public/views/tab-receive.html @@ -1,13 +1,13 @@ - + {{'Receive' | translate}} - - +
diff --git a/src/js/controllers/tab-receive.js b/src/js/controllers/tab-receive.js index 187d3822e..19cbe0eb8 100644 --- a/src/js/controllers/tab-receive.js +++ b/src/js/controllers/tab-receive.js @@ -13,10 +13,10 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi if (!$scope.isCordova) $scope.checkTips(); } - $scope.checkTips = function() { + $scope.checkTips = function(force) { storageService.getReceiveTipsAccepted(function(err, accepted) { if (err) $log.warn(err); - if (accepted) return; + if (accepted && !force) return; $timeout(function() { $ionicModal.fromTemplateUrl('views/modals/receive-tips.html', { @@ -25,7 +25,7 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi $scope.receiveTipsModal = modal; $scope.receiveTipsModal.show(); }); - }, 1000); + }, force ? 1 : 1000); }); };