Skip to content

Commit

Permalink
rebase pr
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirmorrison committed Oct 31, 2023
1 parent 8040620 commit 8b7d8b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ui/page/root/wallet_settings_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,10 @@ func (pg *WalletSettingsPage) deleteWalletModal() {

walletDeleted := func() {
m.Dismiss()
pg.ParentWindow().CloseAllPages()
if pg.WL.AssetsManager.LoadedWalletsCount() > 0 {
pg.onWalletSelected()
pg.walletCallbackFunc()
} else {
pg.ParentWindow().CloseAllPages()
}
}

Expand Down

0 comments on commit 8b7d8b9

Please sign in to comment.