Shapeshift item on home tab now goes to the Shapeshift website.
This commit is contained in:
parent
1c450418b8
commit
8c62bc445a
3 changed files with 14 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('servicesController', function($scope, $ionicScrollDelegate, $timeout, servicesService, configService) {
|
||||
angular.module('copayApp.controllers').controller('servicesController', function(externalLinkService, $scope, $ionicScrollDelegate, $timeout, servicesService, configService) {
|
||||
$scope.hide = false;
|
||||
|
||||
configService.whenAvailable(function(config) {
|
||||
|
|
@ -20,4 +20,8 @@ angular.module('copayApp.controllers').controller('servicesController', function
|
|||
}, 10);
|
||||
};
|
||||
|
||||
$scope.open = function(url) {
|
||||
externalLinkService.open(url, false);
|
||||
}
|
||||
|
||||
});
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ angular.module('copayApp.services').factory('servicesService', function(configSe
|
|||
name: 'shapeshift',
|
||||
title: 'Shapeshift',
|
||||
icon: 'icon-shapeshift',
|
||||
sref: 'tabs.shapeshift',
|
||||
href: 'https://shapeshift.io/'
|
||||
}];
|
||||
|
||||
root.register = function(serviceInfo) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue