Move address modal to a separate file, rename html files and reintroduce bitcoin protocol handler
This commit is contained in:
parent
0c3709ceee
commit
5f27f1e7a6
8 changed files with 36 additions and 39 deletions
|
|
@ -4,8 +4,8 @@ var UriHandler = function() {};
|
|||
|
||||
UriHandler.prototype.register = function() {
|
||||
var base = window.location.origin + '/';
|
||||
var url = base + '#/uri_payment/%s';
|
||||
// navigator.registerProtocolHandler('bitcoin', url, 'Copay');
|
||||
var url = base + '#/uri-payment/%s';
|
||||
navigator.registerProtocolHandler('bitcoin', url, 'Copay');
|
||||
};
|
||||
|
||||
angular.module('copayApp.services').value('uriHandler', new UriHandler());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue