Skip to content

Commit

Permalink
reload page after clearing db
Browse files Browse the repository at this point in the history
  • Loading branch information
dreacot committed Nov 28, 2024
1 parent ad04406 commit c43c502
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui/page/start_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,7 @@ func (sp *startPage) showRemoveWalletWarning() {
warningModal.SetPositiveButtonCallback(func(_ bool, _ *modal.InfoModal) bool {
sp.clearAppDir()
sp.AssetsManager.SetDBDriver("badgerdb")
sp.ParentWindow().Reload()
return true
})

Expand Down

0 comments on commit c43c502

Please sign in to comment.