From c43c50246aaf5f74b0a45afa829cf3c83a1ce0b1 Mon Sep 17 00:00:00 2001 From: dreacot Date: Thu, 28 Nov 2024 09:47:54 +0100 Subject: [PATCH] reload page after clearing db --- ui/page/start_page.go | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/page/start_page.go b/ui/page/start_page.go index 923477f1c..98779e958 100644 --- a/ui/page/start_page.go +++ b/ui/page/start_page.go @@ -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 })