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) <noreply@anthropic.com>
This commit is contained in:
@@ -342,9 +342,8 @@ void App::buildSweepCatalog()
|
|||||||
add("modal-address-label", ui::NavPage::Overview,
|
add("modal-address-label", ui::NavPage::Overview,
|
||||||
[](App& a) { ui::AddressLabelDialog::show(&a, kDemoZAddr, true); },
|
[](App& a) { ui::AddressLabelDialog::show(&a, kDemoZAddr, true); },
|
||||||
[](App&) { ui::AddressLabelDialog::hide(); });
|
[](App&) { ui::AddressLabelDialog::hide(); });
|
||||||
add("modal-daemon-prompt", ui::NavPage::Settings,
|
// (No modal-daemon-prompt surface: renderDaemonUpdatePrompt is gated behind !capture_mode_,
|
||||||
[](App& a) { a.daemon_update_bundled_size_ = 12345678ull; a.show_daemon_update_prompt_ = true; },
|
// so it can't render during a sweep. Its migration is verified by build + the shared overlay pattern.)
|
||||||
[](App& a) { a.show_daemon_update_prompt_ = false; });
|
|
||||||
add("modal-antivirus", ui::NavPage::Mining,
|
add("modal-antivirus", ui::NavPage::Mining,
|
||||||
[](App& a) { a.pending_antivirus_dialog_ = true; },
|
[](App& a) { a.pending_antivirus_dialog_ = true; },
|
||||||
[](App& a) { a.pending_antivirus_dialog_ = false; });
|
[](App& a) { a.pending_antivirus_dialog_ = false; });
|
||||||
|
|||||||
@@ -171,8 +171,6 @@ void ValidateAddressDialog::render(App* app)
|
|||||||
ImGui::TextColored(ImVec4(1.0f, 1.0f, 0.0f, 1.0f), "%s", TR("validating"));
|
ImGui::TextColored(ImVec4(1.0f, 1.0f, 0.0f, 1.0f), "%s", TR("validating"));
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui::Spacing();
|
|
||||||
ImGui::Separator();
|
|
||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
|
|
||||||
// Results
|
// Results
|
||||||
|
|||||||
Reference in New Issue
Block a user