back to main
This commit is contained in:
@@ -117,13 +117,7 @@ impl EventHandler {
|
||||
UiContext::Login => {
|
||||
message = match index {
|
||||
0 => login::save(auth_state, &mut self.auth_client, app_state).await?,
|
||||
1 => {
|
||||
let msg = login::revert(auth_state, app_state).await;
|
||||
// Optional: Add navigation logic here if revert should change screen
|
||||
// app_state.ui.show_login = false;
|
||||
// app_state.ui.show_intro = true;
|
||||
msg
|
||||
}
|
||||
1 => login::back_to_main(auth_state, app_state).await,
|
||||
_ => "Invalid Login Option".to_string(),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user