we compiled centralized system for select
This commit is contained in:
@@ -57,7 +57,9 @@ pub async fn handle_edit_event(
|
||||
EventOutcome::Ok(msg) => msg,
|
||||
EventOutcome::Exit(msg) => format!("Exit requested: {}", msg), // Or handle differently
|
||||
EventOutcome::DataSaved(save_outcome, msg) => format!("Data saved ({:?}): {}", save_outcome, msg),
|
||||
// Add other EventOutcome variants if necessary
|
||||
EventOutcome::ButtonSelected { context, index } => {
|
||||
"Unexpected action in edit mode".to_string()
|
||||
}
|
||||
})
|
||||
}?;
|
||||
return Ok(message);
|
||||
|
||||
Reference in New Issue
Block a user