mirror of https://github.com/BTCPrivate/copay.git
enhance error handling
This commit is contained in:
parent
f731df125e
commit
f063c06751
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('addressesController', function($scope, $stateParams, $state, $timeout, $ionicHistory, $ionicScrollDelegate, configService, popupService, gettextCatalog, ongoingProcess, lodash, profileService, walletService, platformInfo) {
|
angular.module('copayApp.controllers').controller('addressesController', function($scope, $stateParams, $state, $timeout, $ionicHistory, $ionicScrollDelegate, configService, popupService, gettextCatalog, ongoingProcess, lodash, profileService, walletService, bwcError, platformInfo) {
|
||||||
var UNUSED_ADDRESS_LIMIT = 5;
|
var UNUSED_ADDRESS_LIMIT = 5;
|
||||||
var BALANCE_ADDRESS_LIMIT = 5;
|
var BALANCE_ADDRESS_LIMIT = 5;
|
||||||
var config;
|
var config;
|
||||||
|
@ -20,7 +20,7 @@ angular.module('copayApp.controllers').controller('addressesController', functio
|
||||||
walletService.getMainAddresses($scope.wallet, {}, function(err, addresses) {
|
walletService.getMainAddresses($scope.wallet, {}, function(err, addresses) {
|
||||||
if (err) {
|
if (err) {
|
||||||
ongoingProcess.set('gettingAddresses', false);
|
ongoingProcess.set('gettingAddresses', false);
|
||||||
return popupService.showAlert(gettextCatalog.getString('Error'), err);
|
return popupService.showAlert(bwcError.msg(err, gettextCatalog.getString('Could not update wallet')));
|
||||||
}
|
}
|
||||||
|
|
||||||
var allAddresses = addresses;
|
var allAddresses = addresses;
|
||||||
|
@ -28,7 +28,7 @@ angular.module('copayApp.controllers').controller('addressesController', functio
|
||||||
walletService.getBalance($scope.wallet, {}, function(err, resp) {
|
walletService.getBalance($scope.wallet, {}, function(err, resp) {
|
||||||
ongoingProcess.set('gettingAddresses', false);
|
ongoingProcess.set('gettingAddresses', false);
|
||||||
if (err) {
|
if (err) {
|
||||||
return popupService.showAlert(gettextCatalog.getString('Error'), err);
|
return popupService.showAlert(bwcError.msg(err, gettextCatalog.getString('Could not update wallet')));
|
||||||
}
|
}
|
||||||
|
|
||||||
withBalance = resp.byAddress;
|
withBalance = resp.byAddress;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('copayersController',
|
angular.module('copayApp.controllers').controller('copayersController',
|
||||||
function($scope, $log, $timeout, $stateParams, $state, $rootScope, $ionicHistory, appConfigService, lodash, profileService, walletService, popupService, platformInfo, gettextCatalog, ongoingProcess) {
|
function($scope, $log, $timeout, $stateParams, $state, $rootScope, $ionicHistory, appConfigService, lodash, profileService, walletService, popupService, bwcError, platformInfo, gettextCatalog, ongoingProcess) {
|
||||||
|
|
||||||
var appName = appConfigService.userVisibleName;
|
var appName = appConfigService.userVisibleName;
|
||||||
var appUrl = appConfigService.url;
|
var appUrl = appConfigService.url;
|
||||||
|
@ -20,8 +20,7 @@ angular.module('copayApp.controllers').controller('copayersController',
|
||||||
$log.debug('Updating wallet:' + $scope.wallet.name)
|
$log.debug('Updating wallet:' + $scope.wallet.name)
|
||||||
walletService.getStatus($scope.wallet, {}, function(err, status) {
|
walletService.getStatus($scope.wallet, {}, function(err, status) {
|
||||||
if (err) {
|
if (err) {
|
||||||
$log.error(err); //TODO
|
return popupService.showAlert(bwcError.msg(err, gettextCatalog.getString('Could not update wallet')));
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
$scope.wallet.status = status;
|
$scope.wallet.status = status;
|
||||||
$scope.copayers = $scope.wallet.status.wallet.copayers;
|
$scope.copayers = $scope.wallet.status.wallet.copayers;
|
||||||
|
|
|
@ -191,9 +191,7 @@ angular.module('copayApp.controllers').controller('createController',
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
walletService.updateRemotePreferences(client, {}, function() {
|
walletService.updateRemotePreferences(client);
|
||||||
$log.debug('Remote preferences saved for:' + client.credentials.walletId)
|
|
||||||
});
|
|
||||||
|
|
||||||
if ($scope.seedSource.id == 'set') {
|
if ($scope.seedSource.id == 'set') {
|
||||||
profileService.setBackupFlag(client.credentials.walletId);
|
profileService.setBackupFlag(client.credentials.walletId);
|
||||||
|
|
|
@ -340,9 +340,7 @@ angular.module('copayApp.controllers').controller('importController',
|
||||||
};
|
};
|
||||||
|
|
||||||
var finish = function(wallet) {
|
var finish = function(wallet) {
|
||||||
walletService.updateRemotePreferences(wallet, {}, function() {
|
walletService.updateRemotePreferences(wallet);
|
||||||
$log.debug('Remote preferences saved for:' + wallet.credentials.walletId)
|
|
||||||
});
|
|
||||||
|
|
||||||
profileService.setBackupFlag(wallet.credentials.walletId);
|
profileService.setBackupFlag(wallet.credentials.walletId);
|
||||||
if ($stateParams.fromOnboarding) {
|
if ($stateParams.fromOnboarding) {
|
||||||
|
|
|
@ -169,9 +169,7 @@ angular.module('copayApp.controllers').controller('joinController',
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
walletService.updateRemotePreferences(client, {}, function() {
|
walletService.updateRemotePreferences(client);
|
||||||
$log.debug('Remote preferences saved for:' + client.credentials.walletId)
|
|
||||||
});
|
|
||||||
$ionicHistory.removeBackView();
|
$ionicHistory.removeBackView();
|
||||||
|
|
||||||
if (!client.isComplete()) {
|
if (!client.isComplete()) {
|
||||||
|
|
|
@ -66,9 +66,7 @@ angular.module('copayApp.controllers').controller('preferencesAltCurrencyControl
|
||||||
|
|
||||||
$ionicHistory.goBack();
|
$ionicHistory.goBack();
|
||||||
saveLastUsed(newAltCurrency);
|
saveLastUsed(newAltCurrency);
|
||||||
walletService.updateRemotePreferences(profileService.getWallets(), {}, function() {
|
walletService.updateRemotePreferences(profileService.getWallets());
|
||||||
$log.debug('Remote preferences saved');
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,8 @@ angular.module('copayApp.controllers').controller('preferencesFeeController', fu
|
||||||
feeService.getFeeLevels(function(err, levels) {
|
feeService.getFeeLevels(function(err, levels) {
|
||||||
$scope.loadingFee = false;
|
$scope.loadingFee = false;
|
||||||
if (err) {
|
if (err) {
|
||||||
popupService.showAlert(gettextCatalog.getString('Error'), err);
|
//Error is already formatted
|
||||||
|
popupService.showAlert(err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$scope.feeLevels = levels;
|
$scope.feeLevels = levels;
|
||||||
|
|
|
@ -27,9 +27,7 @@ angular.module('copayApp.controllers').controller('preferencesLanguageController
|
||||||
uxLanguage._set(newLang);
|
uxLanguage._set(newLang);
|
||||||
configService.set(opts, function(err) {
|
configService.set(opts, function(err) {
|
||||||
if (err) $log.warn(err);
|
if (err) $log.warn(err);
|
||||||
walletService.updateRemotePreferences(profileService.getWallets(), {}, function() {
|
walletService.updateRemotePreferences(profileService.getWallets());
|
||||||
$log.debug('Remote preferences saved');
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
$ionicHistory.goBack();
|
$ionicHistory.goBack();
|
||||||
|
|
|
@ -33,9 +33,7 @@ angular.module('copayApp.controllers').controller('preferencesUnitController', f
|
||||||
if (err) $log.warn(err);
|
if (err) $log.warn(err);
|
||||||
|
|
||||||
$ionicHistory.goBack();
|
$ionicHistory.goBack();
|
||||||
walletService.updateRemotePreferences(profileService.getWallets(), {}, function() {
|
walletService.updateRemotePreferences(profileService.getWallets())
|
||||||
$log.debug('Remote preferences saved');
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('tabHomeController',
|
angular.module('copayApp.controllers').controller('tabHomeController',
|
||||||
function($rootScope, $timeout, $scope, $state, $stateParams, $ionicModal, $ionicScrollDelegate, $window, gettextCatalog, lodash, popupService, ongoingProcess, externalLinkService, latestReleaseService, profileService, walletService, configService, $log, platformInfo, storageService, txpModalService, appConfigService, bitpayCardService, startupService, addressbookService, feedbackService) {
|
function($rootScope, $timeout, $scope, $state, $stateParams, $ionicModal, $ionicScrollDelegate, $window, gettextCatalog, lodash, popupService, ongoingProcess, externalLinkService, latestReleaseService, profileService, walletService, configService, $log, platformInfo, storageService, txpModalService, appConfigService, bitpayCardService, startupService, addressbookService, feedbackService, bwcError) {
|
||||||
var wallet;
|
var wallet;
|
||||||
var listeners = [];
|
var listeners = [];
|
||||||
var notifications = [];
|
var notifications = [];
|
||||||
|
@ -208,8 +208,9 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
||||||
lodash.each($scope.wallets, function(wallet) {
|
lodash.each($scope.wallets, function(wallet) {
|
||||||
walletService.getStatus(wallet, {}, function(err, status) {
|
walletService.getStatus(wallet, {}, function(err, status) {
|
||||||
if (err) {
|
if (err) {
|
||||||
if (err === 'WALLET_NOT_REGISTERED') wallet.error = gettextCatalog.getString('Wallet not registered');
|
|
||||||
else wallet.error = gettextCatalog.getString('Could not update');;
|
wallet.error = (err === 'WALLET_NOT_REGISTERED') ? gettextCatalog.getString('Wallet not registered') : bwcError.msg(err);
|
||||||
|
|
||||||
$log.error(err);
|
$log.error(err);
|
||||||
} else {
|
} else {
|
||||||
wallet.error = null;
|
wallet.error = null;
|
||||||
|
|
|
@ -20,7 +20,12 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
||||||
$scope.generatingAddress = true;
|
$scope.generatingAddress = true;
|
||||||
walletService.getAddress($scope.wallet, forceNew, function(err, addr) {
|
walletService.getAddress($scope.wallet, forceNew, function(err, addr) {
|
||||||
$scope.generatingAddress = false;
|
$scope.generatingAddress = false;
|
||||||
if (err) popupService.showAlert(gettextCatalog.getString('Error'), bwcError.msg(err));
|
|
||||||
|
if (err) {
|
||||||
|
//Error is already formated
|
||||||
|
return popupService.showAlert(err);
|
||||||
|
}
|
||||||
|
|
||||||
$scope.addr = addr;
|
$scope.addr = addr;
|
||||||
if ($scope.walletAddrs[$scope.wallet.id]) $scope.walletAddrs[$scope.wallet.id] = addr;
|
if ($scope.walletAddrs[$scope.wallet.id]) $scope.walletAddrs[$scope.wallet.id] = addr;
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
|
@ -129,7 +134,7 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
|
||||||
$scope.updateCurrentWallet = function() {
|
$scope.updateCurrentWallet = function() {
|
||||||
walletService.getStatus($scope.wallet, {}, function(err, status) {
|
walletService.getStatus($scope.wallet, {}, function(err, status) {
|
||||||
if (err) {
|
if (err) {
|
||||||
$log.error(err);
|
return popupService.showAlert(bwcError.msg(err, gettextCatalog.getString('Could not update wallet')));
|
||||||
}
|
}
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$scope.wallet = profileService.getWallet($scope.wallet.id);
|
$scope.wallet = profileService.getWallet($scope.wallet.id);
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('tabSendController', function($scope, $rootScope, $log, $timeout, $ionicScrollDelegate, addressbookService, profileService, lodash, $state, walletService, incomingData, popupService, platformInfo) {
|
angular.module('copayApp.controllers').controller('tabSendController', function($scope, $rootScope, $log, $timeout, $ionicScrollDelegate, addressbookService, profileService, lodash, $state, walletService, incomingData, popupService, platformInfo, bwcError, gettextCatalog) {
|
||||||
|
|
||||||
var originalList;
|
var originalList;
|
||||||
var CONTACTS_SHOW_LIMIT;
|
var CONTACTS_SHOW_LIMIT;
|
||||||
|
@ -128,13 +128,20 @@ angular.module('copayApp.controllers').controller('tabSendController', function(
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$scope.checkingBalanceError = false;
|
||||||
$scope.checkingBalance = true;
|
$scope.checkingBalance = true;
|
||||||
var index = 0;
|
var index = 0,
|
||||||
|
errorShown = 0;
|
||||||
lodash.each(wallets, function(w) {
|
lodash.each(wallets, function(w) {
|
||||||
walletService.getStatus(w, {}, function(err, status) {
|
walletService.getStatus(w, {}, function(err, status) {
|
||||||
|
|
||||||
++index;
|
++index;
|
||||||
if (err && !status) {
|
if (err && !status) {
|
||||||
$log.error(err);
|
$log.error(err);
|
||||||
|
if (!errorShown++) popupService.showAlert(bwcError.msg(err, gettextCatalog.getString('Could not update wallet')));
|
||||||
|
$scope.checkingBalanceError = true;
|
||||||
|
return;
|
||||||
|
|
||||||
} else if (status.availableBalanceSat > 0) {
|
} else if (status.availableBalanceSat > 0) {
|
||||||
$scope.hasFunds = true;
|
$scope.hasFunds = true;
|
||||||
$rootScope.everHasFunds = true;
|
$rootScope.everHasFunds = true;
|
||||||
|
|
|
@ -60,7 +60,7 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
||||||
if (err === 'WALLET_NOT_REGISTERED') {
|
if (err === 'WALLET_NOT_REGISTERED') {
|
||||||
$scope.walletNotRegistered = true;
|
$scope.walletNotRegistered = true;
|
||||||
} else {
|
} else {
|
||||||
$scope.updateStatusError = bwcError.msg(err, gettextCatalog.getString('BWS Error'));
|
$scope.updateStatusError = bwcError.msg(err, gettextCatalog.getString('Could not update wallet'));
|
||||||
}
|
}
|
||||||
$scope.status = null;
|
$scope.status = null;
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -11,12 +11,8 @@ angular.module('copayApp.services').factory('emailService', function($log, confi
|
||||||
return w.credentials.walletId;
|
return w.credentials.walletId;
|
||||||
});
|
});
|
||||||
|
|
||||||
lodash.each(wallets, function(w) {
|
walletService.updateRemotePreferences(wallets, {
|
||||||
walletService.updateRemotePreferences(w, {
|
email: opts.enabled ? opts.email : null
|
||||||
email: opts.enabled ? opts.email : null
|
|
||||||
}, function(err) {
|
|
||||||
if (err) $log.warn(err);
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var config = configService.getSync();
|
var config = configService.getSync();
|
||||||
|
|
|
@ -390,7 +390,7 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
|
||||||
function getNewTxs(newTxs, skip, cb) {
|
function getNewTxs(newTxs, skip, cb) {
|
||||||
getTxsFromServer(wallet, skip, endingTxid, requestLimit, function(err, res, shouldContinue) {
|
getTxsFromServer(wallet, skip, endingTxid, requestLimit, function(err, res, shouldContinue) {
|
||||||
if (err) {
|
if (err) {
|
||||||
$log.warn(bwcError.msg(err, 'BWS Error')); //TODO
|
$log.warn(bwcError.msg(err, 'Server Error')); //TODO
|
||||||
if (err instanceof errors.CONNECTION_ERROR || (err.message && err.message.match(/5../))) {
|
if (err instanceof errors.CONNECTION_ERROR || (err.message && err.message.match(/5../))) {
|
||||||
$log.info('Retrying history download in 5 secs...');
|
$log.info('Retrying history download in 5 secs...');
|
||||||
return $timeout(function() {
|
return $timeout(function() {
|
||||||
|
@ -654,20 +654,24 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
|
||||||
|
|
||||||
root.updateRemotePreferences = function(clients, prefs, cb) {
|
root.updateRemotePreferences = function(clients, prefs, cb) {
|
||||||
prefs = prefs || {};
|
prefs = prefs || {};
|
||||||
|
cb = cb || function() {};
|
||||||
|
|
||||||
if (!lodash.isArray(clients))
|
if (!lodash.isArray(clients))
|
||||||
clients = [clients];
|
clients = [clients];
|
||||||
|
|
||||||
function updateRemotePreferencesFor(clients, prefs, cb) {
|
function updateRemotePreferencesFor(clients, prefs, next) {
|
||||||
var wallet = clients.shift();
|
var wallet = clients.shift();
|
||||||
if (!wallet) return cb();
|
if (!wallet) return next();
|
||||||
$log.debug('Saving remote preferences', wallet.credentials.walletName, prefs);
|
$log.debug('Saving remote preferences', wallet.credentials.walletName, prefs);
|
||||||
|
|
||||||
wallet.savePreferences(prefs, function(err) {
|
wallet.savePreferences(prefs, function(err) {
|
||||||
// we ignore errors here
|
|
||||||
if (err) $log.warn(err);
|
|
||||||
|
|
||||||
updateRemotePreferencesFor(clients, prefs, cb);
|
if (err) {
|
||||||
|
popupService.showAlert(bwcError.msg(err, gettextCatalog.getString('Could not save preferences on the server')));
|
||||||
|
return next(err);
|
||||||
|
}
|
||||||
|
|
||||||
|
updateRemotePreferencesFor(clients, prefs, next);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -678,9 +682,13 @@ angular.module('copayApp.services').factory('walletService', function($log, $tim
|
||||||
prefs.language = uxLanguage.getCurrentLanguage();
|
prefs.language = uxLanguage.getCurrentLanguage();
|
||||||
prefs.unit = config.unitCode;
|
prefs.unit = config.unitCode;
|
||||||
|
|
||||||
updateRemotePreferencesFor(clients, prefs, function(err) {
|
updateRemotePreferencesFor(lodash.clone(clients), prefs, function(err) {
|
||||||
if (err) return cb(err);
|
if (err) return cb(err);
|
||||||
|
|
||||||
|
$log.debug('Remote preferences saved for' + lodash.map(clients, function(x) {
|
||||||
|
return x.credentials.walletId;
|
||||||
|
}).join(','));
|
||||||
|
|
||||||
lodash.each(clients, function(c) {
|
lodash.each(clients, function(c) {
|
||||||
c.preferences = lodash.assign(prefs, c.preferences);
|
c.preferences = lodash.assign(prefs, c.preferences);
|
||||||
});
|
});
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<div class="col col-90 center-block bit-address text-center">
|
<div class="col col-90 center-block bit-address text-center">
|
||||||
<div class="item item-icon-left">
|
<div class="item item-icon-left">
|
||||||
<i class="icon icon-svg receive-tab-bitcoin-icon"><img src="img/icon-bitcoin-symbol.svg"></i>
|
<i class="icon icon-svg receive-tab-bitcoin-icon"><img src="img/icon-bitcoin-symbol.svg"></i>
|
||||||
<span class="bit-address-gen-address" ng-if="!generatingAddress" translate>address not yet available</span>
|
<span class="bit-address-gen-address" translate>address not yet available</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -54,9 +54,6 @@
|
||||||
<div class="row qr">
|
<div class="row qr">
|
||||||
<div class="text-center col center-block" copy-to-clipboard="addr" ng-repeat="wallet in wallets track by $index" ng-class="walletPosition($index)">
|
<div class="text-center col center-block" copy-to-clipboard="addr" ng-repeat="wallet in wallets track by $index" ng-class="walletPosition($index)">
|
||||||
<qrcode ng-if="walletAddrs[wallet.id]" size="220" data="bitcoin:{{walletAddrs[wallet.id]}}" color="#334"></qrcode>
|
<qrcode ng-if="walletAddrs[wallet.id]" size="220" data="bitcoin:{{walletAddrs[wallet.id]}}" color="#334"></qrcode>
|
||||||
<div ng-if="!walletAddrs[wallet.id]" style="height:225px; width:220px; margin:auto;padding-top: 25%;position:absolute;left:50%;top:50%;z-index:1;">
|
|
||||||
...
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="qr-options" class="row text-center">
|
<div id="qr-options" class="row text-center">
|
||||||
|
@ -69,8 +66,8 @@
|
||||||
<div class="center-block bit-address text-center" ng-repeat="wallet in wallets track by $index" ng-class="walletPosition($index)">
|
<div class="center-block bit-address text-center" ng-repeat="wallet in wallets track by $index" ng-class="walletPosition($index)">
|
||||||
<div class="item item-icon-left item-icon-right">
|
<div class="item item-icon-left item-icon-right">
|
||||||
<i class="icon icon-svg receive-tab-bitcoin-icon"><img src="img/icon-bitcoin-symbol.svg"></i>
|
<i class="icon icon-svg receive-tab-bitcoin-icon"><img src="img/icon-bitcoin-symbol.svg"></i>
|
||||||
<span class="bit-address-gen-address" ng-if="generatingAddress">...</span>
|
<span class="bit-address-gen-address" ng-show="!generatingAddress" class="ellipsis">{{walletAddrs[wallet.id]}}</span>
|
||||||
<span class="bit-address-gen-address" ng-if="!generatingAddress" class="ellipsis">{{walletAddrs[wallet.id]}}</span>
|
<span class="bit-address-gen-address" ng-show="!generatingAddress && !walletAddrs[wallet.id]" translate>address not available</span>
|
||||||
<i class="icon ion-ios-arrow-right"></i>
|
<i class="icon ion-ios-arrow-right"></i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2,6 +2,14 @@
|
||||||
<ion-nav-bar class="bar-royal">
|
<ion-nav-bar class="bar-royal">
|
||||||
<ion-nav-title>{{'Send' | translate}}</ion-nav-title>
|
<ion-nav-title>{{'Send' | translate}}</ion-nav-title>
|
||||||
</ion-nav-bar>
|
</ion-nav-bar>
|
||||||
|
<ion-content ng-show="checkingBalanceError">
|
||||||
|
<div class="list card">
|
||||||
|
<div class="item item-icon-left">
|
||||||
|
<i class="ion-alert-circled icon"></i>
|
||||||
|
<span translate>Could not update wallets</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</ion-content >
|
||||||
<ion-content ng-show="!checkingBalance">
|
<ion-content ng-show="!checkingBalance">
|
||||||
<div ng-if="hasFunds == false" class="zero-state">
|
<div ng-if="hasFunds == false" class="zero-state">
|
||||||
<div>
|
<div>
|
||||||
|
|
Loading…
Reference in New Issue