commit 9280058e4b00650a09a00d5d49553e4a4ff380fd
parent 4c5dc1e7711f79848e62af978af45bdb0324edf4
Author: triesap <tyson@radroots.org>
Date: Sun, 19 Apr 2026 01:36:21 +0000
window: prioritize inline farm setup form on home
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/crates/launchers/desktop/src/window.rs b/crates/launchers/desktop/src/window.rs
@@ -655,7 +655,8 @@ impl HomeView {
return;
};
- if runtime_summary.home_route != HomeRoute::FarmSetupForm {
+ if runtime_summary.home_route != HomeRoute::FarmSetupForm && self.farm_setup_form.is_none()
+ {
self.farm_setup_form = None;
return;
}
@@ -4744,10 +4745,8 @@ fn home_today_content(
);
}
- if runtime.home_route == HomeRoute::FarmSetupForm {
- if let Some(farm_setup_form) = farm_setup_form {
- sections.push(farm_setup_form);
- }
+ if let Some(farm_setup_form) = farm_setup_form {
+ sections.push(farm_setup_form);
} else if let Some(spec) = setup_onboarding {
sections.push(
home_farm_setup_onboarding_card(spec, on_start_farm_setup, cx).into_any_element(),