Import Old wallets from localStorage
This commit is contained in:
parent
fdf466ca45
commit
965d3e1d96
13 changed files with 67 additions and 81 deletions
|
|
@ -1,5 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.services').factory('Compatibility', function() {
|
||||
return require('copay').Compatibility;
|
||||
angular.module('copayApp.services').factory('Compatibility', function($rootScope) {
|
||||
var root = {};
|
||||
|
||||
root.check = function (scope) {
|
||||
copay.Compatibility.listWalletsPre8(function(wallets) {
|
||||
scope.anyWallet = wallets.length > 0 ? true : false;
|
||||
scope.oldWallets = wallets;
|
||||
});
|
||||
};
|
||||
return root;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue