Merge pull request #141 from Bitcoin-com/wallet/task/347
Adds faucet link
This commit is contained in:
commit
e6da8056da
5 changed files with 146 additions and 14 deletions
|
|
@ -44,6 +44,20 @@ angular.module('copayApp.services').factory('bitcoincomService', function($http,
|
|||
href: 'http://tools.bitcoin.com'
|
||||
};
|
||||
|
||||
var priceChartItem = {
|
||||
name: 'pricechart',
|
||||
title: 'Bitcoin Price Charts',
|
||||
icon: 'icon-chart',
|
||||
sref: 'tabs.pricechart',
|
||||
};
|
||||
|
||||
var faucetItem = {
|
||||
name: 'faucet',
|
||||
title: 'Free Bitcoin Cash',
|
||||
icon: 'icon-faucet',
|
||||
href: 'https://free.bitcoin.com/'
|
||||
};
|
||||
|
||||
var _getBitPay = function(endpoint) {
|
||||
return {
|
||||
method: 'GET',
|
||||
|
|
@ -74,6 +88,8 @@ angular.module('copayApp.services').factory('bitcoincomService', function($http,
|
|||
nextStepsService.register(newsItem);
|
||||
nextStepsService.register(poolItem);
|
||||
nextStepsService.register(toolsItem);
|
||||
nextStepsService.register(priceChartItem);
|
||||
nextStepsService.register(faucetItem);
|
||||
};
|
||||
|
||||
register();
|
||||
|
|
|
|||
|
|
@ -3,17 +3,5 @@ angular.module('copayApp.services').factory('pricechartService', function($http,
|
|||
var root = {};
|
||||
var credentials = {};
|
||||
|
||||
var nextStepItem = {
|
||||
name: 'pricechart',
|
||||
title: 'Bitcoin Price Charts',
|
||||
icon: 'icon-chart',
|
||||
sref: 'tabs.pricechart',
|
||||
};
|
||||
|
||||
var register = function() {
|
||||
nextStepsService.register(nextStepItem);
|
||||
};
|
||||
|
||||
register();
|
||||
return root;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue