Merge pull request #2310 from cmgustavo/ux/wallet-info01
Removes "Manage wallets" and moves info to "Settings"
This commit is contained in:
commit
373f12c2a0
19 changed files with 288 additions and 310 deletions
|
|
@ -218,6 +218,9 @@ Identity.prototype.deleteWallet = function(walletId, cb) {
|
|||
self.storage.removeItem(Wallet.getStorageKey(walletId), function(err) {
|
||||
if (err) return cb(err);
|
||||
self.emitAndKeepAlive('walletDeleted', walletId);
|
||||
if (!self.walletIds.length) {
|
||||
self.emitAndKeepAlive('noWallets')
|
||||
}
|
||||
self.store({
|
||||
noWallets: true
|
||||
}, cb);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue