fixes
This commit is contained in:
parent
5538591d11
commit
25f7408d3b
1 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
||||||
|
|
||||||
if (!$scope.homeTip) {
|
if (!$scope.homeTip) {
|
||||||
storageService.getHomeTipAccepted(function(error, value) {
|
storageService.getHomeTipAccepted(function(error, value) {
|
||||||
$scope.homeTip = (value == 'false') ? false : true;
|
$scope.homeTip = (value == 'accepted') ? false : true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -175,7 +175,7 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.hideHomeTip = function() {
|
$scope.hideHomeTip = function() {
|
||||||
storageService.setHomeTipAccepted(JSON.stringify(false), function(error, value) {
|
storageService.setHomeTipAccepted('accepted', function() {
|
||||||
$scope.homeTip = false;
|
$scope.homeTip = false;
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$scope.$apply();
|
$scope.$apply();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue