shapeshift moved to default services and communities fix
This commit is contained in:
parent
0ec0e5c945
commit
420305cf01
3 changed files with 8 additions and 15 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('tabHomeController',
|
angular.module('copayApp.controllers').controller('tabHomeController',
|
||||||
function($rootScope, sendFlowService, $timeout, $scope, $state, $stateParams, $ionicScrollDelegate, $window, gettextCatalog, lodash, popupService, ongoingProcess, bannerService, externalLinkService, latestReleaseService, profileService, walletService, configService, $log, platformInfo, storageService, txpModalService, appConfigService, startupService, addressbookService, bwcError, nextStepsService, buyAndSellService, homeIntegrationsService, bitpayCardService, pushNotificationsService, timeService, $ionicNavBarDelegate) {
|
function($rootScope, $timeout, $scope, $state, $stateParams, $ionicModal, $ionicScrollDelegate, $window, gettextCatalog, lodash, popupService, ongoingProcess, bannerService, externalLinkService, latestReleaseService, profileService, walletService, configService, $log, platformInfo, sendFlowService, storageService, txpModalService, appConfigService, startupService, addressbookService, bwcError, nextStepsService, buyAndSellService, homeIntegrationsService, bitpayCardService, pushNotificationsService, timeService, bitcoincomService, pricechartService, firebaseEventsService, servicesService, shapeshiftService, $ionicNavBarDelegate, signVerifyMessageService) {
|
||||||
var wallet;
|
var wallet;
|
||||||
var listeners = [];
|
var listeners = [];
|
||||||
var notifications = [];
|
var notifications = [];
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,12 @@
|
||||||
'use strict'
|
'use strict'
|
||||||
angular.module('copayApp.services').factory('servicesService', function(configService, $log, lodash) {
|
angular.module('copayApp.services').factory('servicesService', function(configService, $log, lodash) {
|
||||||
var root = {};
|
var root = {};
|
||||||
var services = [];
|
var services = [{
|
||||||
|
name: 'shapeshift',
|
||||||
|
title: 'Shapeshift',
|
||||||
|
icon: 'icon-shapeshift',
|
||||||
|
sref: 'tabs.shapeshift',
|
||||||
|
}];
|
||||||
|
|
||||||
root.register = function(serviceInfo) {
|
root.register = function(serviceInfo) {
|
||||||
$log.info('Adding Services entry:' + serviceInfo.name);
|
$log.info('Adding Services entry:' + serviceInfo.name);
|
||||||
|
|
|
||||||
|
|
@ -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;
|
return root;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue