Files
komp_ac/client/src/tui/functions/login.rs
2025-04-18 21:04:36 +02:00

16 lines
449 B
Rust

// src/tui/functions/login.rs
use anyhow::{anyhow, Result};
pub async fn handle_action(action: &str,) -> Result<String> {
match action {
"previous_entry" => {
Ok("Previous entry at tui/functions/login.rs not implemented".into())
}
"next_entry" => {
Ok("Next entry at tui/functions/login.rs not implemented".into())
}
_ => Err(anyhow!("Unknown login action: {}", action))
}
}