From d1398cb4d62398df9cee51f106a7b9d818019b44 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Sat, 4 May 2024 16:46:28 +0300 Subject: [PATCH] ui: conn setup redraw delay --- src/gui/views/wallets/creation/creation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/views/wallets/creation/creation.rs b/src/gui/views/wallets/creation/creation.rs index 16edd8b..7d2af4b 100644 --- a/src/gui/views/wallets/creation/creation.rs +++ b/src/gui/views/wallets/creation/creation.rs @@ -338,7 +338,7 @@ impl WalletCreation { Step::SetupConnection => { // Redraw if node is running. if Node::is_running() { - ui.ctx().request_repaint(); + ui.ctx().request_repaint_after(Node::STATS_UPDATE_DELAY); } self.network_setup.create_ui(ui, frame, cb) }