mirror of https://github.com/BTCPrivate/copay.git
increase time of feedback card to one week
This commit is contained in:
parent
62ddfe7f23
commit
bbfb19dcbb
|
@ -51,7 +51,7 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var now = moment().unix();
|
var now = moment().unix();
|
||||||
var timeExceeded = (now - feedbackInfo.time) >= 24 * 60 * 60;
|
var timeExceeded = (now - feedbackInfo.time) >= 24 * 7 * 60 * 60;
|
||||||
$scope.showRateCard.value = timeExceeded && !feedbackInfo.sent;
|
$scope.showRateCard.value = timeExceeded && !feedbackInfo.sent;
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$scope.$apply();
|
$scope.$apply();
|
||||||
|
|
Loading…
Reference in New Issue