346 - Bitcoin.com Store banner on Home tab
This commit is contained in:
parent
953a465606
commit
082686def6
4 changed files with 21 additions and 0 deletions
|
|
@ -155,6 +155,14 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
externalLinkService.open(url, optIn, title, message, okText, cancelText);
|
||||
};
|
||||
|
||||
$scope.openURL = function(url) {
|
||||
if (platformInfo.isNW) {
|
||||
require('nw.gui').Shell.openExternal( url );
|
||||
} else {
|
||||
window.open(url, '_system');
|
||||
}
|
||||
};
|
||||
|
||||
$scope.openNotificationModal = function(n) {
|
||||
wallet = profileService.getWallet(n.walletId);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue