Refactored the connect flow and make canceling behavior more consistent.

This commit is contained in:
2025-06-27 16:09:30 +02:00
parent f0883a0ff0
commit 3f51d52edf
8 changed files with 121 additions and 79 deletions

View File

@@ -38,8 +38,7 @@ impl<'a> Flow<'a> for ListGamenights {
view_flows.push(Box::new(Exit::new()));
let choice = Select::new("What gamenight would you like to view?", view_flows)
.prompt_skippable()?;
let choice = Select::new("What gamenight would you like to view?", view_flows).prompt_skippable()?;
clear_screen::clear();
handle_choice_option(&choice, self, state).await