ui: conn setup redraw delay

This commit is contained in:
ardocrat 2024-05-04 16:46:28 +03:00
parent 5e1f4c7f48
commit d1398cb4d6

View file

@ -338,7 +338,7 @@ impl WalletCreation {
Step::SetupConnection => { Step::SetupConnection => {
// Redraw if node is running. // Redraw if node is running.
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) self.network_setup.create_ui(ui, frame, cb)
} }