app

Local-first trade for farms and co-ops
git clone https://radroots.dev/git/app.git
Log | Files | Refs | README | LICENSE

commit c1246874a5adfc7a5e79a78be558e4b4e7b1b028
parent b468f26ec193c9a8b1045e626358810dddee8d5b
Author: triesap <tyson@radroots.org>
Date:   Sun, 19 Apr 2026 01:36:21 +0000

window: prioritize inline farm setup form on home

Diffstat:
Mcrates/launchers/desktop/src/window.rs | 9++++-----
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(),