2014-10-28 00:31:30 -03:00
|
|
|
'use strict';
|
|
|
|
|
|
2014-10-30 16:13:56 -03:00
|
|
|
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;
|
2014-10-28 00:31:30 -03:00
|
|
|
});
|