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,
|
||||
[](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; });
|
||||
|
||||
Reference in New Issue
Block a user