|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 5.1 KiB |
BIN
cordova/android/res/drawable-xxhdpi/icon.png
Normal file
|
After Width: | Height: | Size: 7.9 KiB |
BIN
cordova/android/res/drawable-xxxhdpi/icon.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
|
|
@ -425,9 +425,10 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
};
|
||||
|
||||
// This handles errors from BWS/index with are nomally
|
||||
// trigger from async events (like updates)
|
||||
self.handleError = function(err) {
|
||||
$log.warn('Client ERROR:', err);
|
||||
// trigger from async events (like updates).
|
||||
// Debounce function avoids multiple popups
|
||||
var _handleError = function(err) {
|
||||
$log.warn('Client ERROR: ', err);
|
||||
if (err.code === 'NOT_AUTHORIZED') {
|
||||
self.notAuthorized = true;
|
||||
go.walletHome();
|
||||
|
|
@ -440,6 +441,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
self.showErrorPopup(msg);
|
||||
}
|
||||
};
|
||||
|
||||
self.handleError = lodash.debounce(_handleError, 1000);
|
||||
|
||||
self.openWallet = function() {
|
||||
var fc = profileService.focusedClient;
|
||||
$timeout(function() {
|
||||
|
|
@ -920,9 +924,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
$log.warn('Showing err popup:' + msg);
|
||||
self.showAlert = {
|
||||
msg: msg,
|
||||
close: function(err) {
|
||||
close: function() {
|
||||
self.showAlert = null;
|
||||
if (cb) return cb(err);
|
||||
if (cb) return cb();
|
||||
},
|
||||
};
|
||||
$timeout(function() {
|
||||
|
|
@ -1344,10 +1348,6 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
|||
);
|
||||
});
|
||||
|
||||
$rootScope.$on('Local/ShowAlert', function(event, msg, cb) {
|
||||
self.showErrorPopup(msg, cb);
|
||||
});
|
||||
|
||||
$rootScope.$on('Local/NeedsPassword', function(event, isSetup, cb) {
|
||||
self.askPassword = {
|
||||
isSetup: isSetup,
|
||||
|
|
|
|||
|
|
@ -630,7 +630,7 @@ angular.module('copayApp.services')
|
|||
name: config.aliasFor[c.walletId] || c.walletName,
|
||||
id: c.walletId,
|
||||
network: c.network,
|
||||
color: config.colorFor[c.walletId] || '#2C3E50'
|
||||
color: config.colorFor[c.walletId] || '#4A90E2'
|
||||
};
|
||||
});
|
||||
ret = lodash.filter(ret, function(w) {
|
||||
|
|
|
|||