From 4ef09d55466dff9ed9ec6cbde84a5b3dfed2a915 Mon Sep 17 00:00:00 2001 From: DanS Date: Tue, 14 Jul 2026 17:40:59 -0500 Subject: [PATCH] fix(ui): drop Validate-address results divider; remove ungapturable daemon-prompt surface Two sweep-driven fixes: - Validate Address: remove the input->results Separator. When no result is shown yet it sat directly above the Close button and read as a footer divider, inconsistent with the reference design (the description divider was already gone). - Drop the modal-daemon-prompt sweep surface: renderDaemonUpdatePrompt is gated behind !capture_mode_, so it never renders during a sweep (the capture showed the Settings page behind it). Its migration stays verified via build + the shared BlurFloat/TactileButton pattern. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/app_sweep.cpp | 5 ++--- src/ui/windows/validate_address_dialog.cpp | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/app_sweep.cpp b/src/app_sweep.cpp index 2472d6a..7a1c739 100644 --- a/src/app_sweep.cpp +++ b/src/app_sweep.cpp @@ -342,9 +342,8 @@ void App::buildSweepCatalog() add("modal-address-label", ui::NavPage::Overview, [](App& a) { ui::AddressLabelDialog::show(&a, kDemoZAddr, true); }, [](App&) { ui::AddressLabelDialog::hide(); }); - add("modal-daemon-prompt", ui::NavPage::Settings, - [](App& a) { a.daemon_update_bundled_size_ = 12345678ull; a.show_daemon_update_prompt_ = true; }, - [](App& a) { a.show_daemon_update_prompt_ = false; }); + // (No modal-daemon-prompt surface: renderDaemonUpdatePrompt is gated behind !capture_mode_, + // so it can't render during a sweep. Its migration is verified by build + the shared overlay pattern.) add("modal-antivirus", ui::NavPage::Mining, [](App& a) { a.pending_antivirus_dialog_ = true; }, [](App& a) { a.pending_antivirus_dialog_ = false; }); diff --git a/src/ui/windows/validate_address_dialog.cpp b/src/ui/windows/validate_address_dialog.cpp index 3d8432b..5a17f96 100644 --- a/src/ui/windows/validate_address_dialog.cpp +++ b/src/ui/windows/validate_address_dialog.cpp @@ -171,8 +171,6 @@ void ValidateAddressDialog::render(App* app) ImGui::TextColored(ImVec4(1.0f, 1.0f, 0.0f, 1.0f), "%s", TR("validating")); } - ImGui::Spacing(); - ImGui::Separator(); ImGui::Spacing(); // Results