Restore Buy bitcoin page and add buy.bitcoin.com as a service there

This commit is contained in:
magmahindenburg 2017-06-22 17:50:59 +09:00
commit a761b58ab0
8 changed files with 114 additions and 16 deletions

View file

@ -0,0 +1,24 @@
'use strict';
angular.module('copayApp.services').factory('buydotbitcoindotcomService', function($http, $log, $window, $filter, platformInfo, storageService, buyAndSellService, lodash, configService, txFormatService) {
var root = {};
var credentials = {};
var isCordova = platformInfo.isCordova;
root.init = function(cb) {
};
var register = function() {
buyAndSellService.register({
name: 'buydotbitcoindotcom',
logo: 'img/bitcoin-com-logo.png',
location: 'Buy Bitcoin With Credit Card',
sref: 'tabs.buyandsell.bitcoindotcom'
});
};
register();
return root;
});