mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
Fix onboarding auth prompt gating
This commit is contained in:
@@ -1752,16 +1752,14 @@ impl App<'_> {
|
||||
}
|
||||
|
||||
fn should_show_onboarding(
|
||||
_login_status: crate::LoginStatus,
|
||||
login_status: crate::LoginStatus,
|
||||
_config: &Config,
|
||||
show_trust_screen: bool,
|
||||
) -> bool {
|
||||
if show_trust_screen {
|
||||
return true;
|
||||
}
|
||||
// Defer login screen visibility decision to onboarding screen logic.
|
||||
// Here we only gate on trust flow.
|
||||
false
|
||||
matches!(login_status, crate::LoginStatus::NotAuthenticated)
|
||||
}
|
||||
|
||||
fn should_show_login_screen(login_status: crate::LoginStatus, _config: &Config) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user