mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #216 from gabrielbazan7/fix/recentTrans
experimental feature disabled by default
This commit is contained in:
commit
c305c10374
|
@ -117,6 +117,7 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
});
|
||||
});
|
||||
|
||||
if (!$scope.recentTransactionsEnabled) return;
|
||||
$scope.fetchingNotifications = true;
|
||||
profileService.getNotifications({
|
||||
limit: 3
|
||||
|
@ -144,6 +145,9 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
return;
|
||||
}
|
||||
wallet.status = status;
|
||||
updateTxps();
|
||||
|
||||
if (!$scope.recentTransactionsEnabled) return;
|
||||
|
||||
$scope.fetchingNotifications = true;
|
||||
profileService.getNotifications({
|
||||
|
@ -155,8 +159,6 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
return;
|
||||
}
|
||||
$scope.notifications = notifications;
|
||||
|
||||
updateTxps();
|
||||
})
|
||||
});
|
||||
};
|
||||
|
@ -208,7 +210,7 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
|
||||
var bitpayCardCache = function() {
|
||||
bitpayCardService.getCacheData(function(err, data) {
|
||||
if (err || lodash.isEmpty(data)) return;
|
||||
if (err || lodash.isEmpty(data)) return;
|
||||
$scope.bitpayCard = data;
|
||||
});
|
||||
};
|
||||
|
|
|
@ -54,7 +54,7 @@ angular.module('copayApp.services').factory('configService', function(storageSer
|
|||
//Experimental Features
|
||||
|
||||
recentTransactions: {
|
||||
enabled: true
|
||||
enabled: false //disabled by default
|
||||
},
|
||||
|
||||
frequentlyUsed: {
|
||||
|
|
Loading…
Reference in New Issue