This commit is contained in:
Gabriel Bazán 2016-11-15 00:26:18 -03:00
commit 57a730413f

View file

@ -53,12 +53,14 @@ angular.module('copayApp.controllers').controller('rateCardController', function
storageService.getFeedbackInfo(function(error, info) { storageService.getFeedbackInfo(function(error, info) {
var feedbackInfo = JSON.parse(info); var feedbackInfo = JSON.parse(info);
feedbackInfo.sent = true; feedbackInfo.sent = true;
storageService.setFeedbackInfo(JSON.stringify(feedbackInfo), function() {}); storageService.setFeedbackInfo(JSON.stringify(feedbackInfo), function() {
$scope.showRateCard.value = false;
});
}); });
} }
$timeout(function() { $timeout(function() {
$scope.$apply(); $scope.$apply();
}) }, 100);
} }
}); });