mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #3315 from cmgustavo/bug/isChromeApp01
Bug/is chrome app01
This commit is contained in:
commit
e5171c82d0
|
@ -1,4 +1,5 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.services').value('isChromeApp', !!(window.chrome && chrome.runtime && chrome.runtime.id));
|
||||
|
||||
angular.module('copayApp.services').factory('isChromeApp', function(nodeWebkit) {
|
||||
return !!(window.chrome && chrome.runtime && chrome.runtime.id && !nodeWebkit.isDefined());
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue