Update translation. Removed old files
This commit is contained in:
parent
dd31f0c551
commit
93e61b66df
29 changed files with 358 additions and 703 deletions
|
|
@ -58,8 +58,6 @@ angular.module('copayApp.services').factory('configService', function(localStora
|
|||
var configCache = null;
|
||||
|
||||
|
||||
|
||||
|
||||
root.getSync = function() {
|
||||
if (!configCache)
|
||||
throw new Error('configService#getSync called when cache is not initialized');
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ angular.module('copayApp.services')
|
|||
});
|
||||
};
|
||||
|
||||
root._createNewProfile = function(pin, cb) {
|
||||
root._createNewProfile = function(cb) {
|
||||
var walletClient = bwcService.getClient();
|
||||
|
||||
walletClient.createWallet('Personal Wallet', 'me', 1, 1, {
|
||||
|
|
@ -260,8 +260,8 @@ angular.module('copayApp.services')
|
|||
|
||||
|
||||
|
||||
root.create = function(pin, cb) {
|
||||
root._createNewProfile(pin, function(err, p) {
|
||||
root.create = function(cb) {
|
||||
root._createNewProfile(function(err, p) {
|
||||
if (err) return cb(err);
|
||||
root.bindProfile(p, function(err) {
|
||||
storageService.storeNewProfile(p, function(err) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue