Merge remote-tracking branch 'origin/wallet/task/537' into wallet/sprint/20

This commit is contained in:
Sebastiaan Pasma 2018-08-09 13:46:34 +02:00
commit 8b19f599b6
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
6 changed files with 20 additions and 21 deletions

View file

@ -1,7 +1,12 @@
'use strict'
angular.module('copayApp.services').factory('servicesService', function(configService, $log, lodash) {
var root = {};
var services = [];
var services = [{
name: 'shapeshift',
title: 'Shapeshift',
icon: 'icon-shapeshift',
sref: 'tabs.shapeshift',
}];
root.register = function(serviceInfo) {
$log.info('Adding Services entry:' + serviceInfo.name);

View file

@ -137,17 +137,5 @@ angular.module('copayApp.services').factory('shapeshiftService', function ($http
});
};
var servicesItem = {
name: 'shapeshift',
title: 'Shapeshift',
icon: 'icon-shapeshift',
sref: 'tabs.shapeshift',
};
var register = function() {
servicesService.register(servicesItem);
};
register();
return root;
});