Files
unshell/unshell-gui/src/config/mod.rs
T

15 lines
296 B
Rust
Raw Normal View History

2025-11-29 13:15:09 -07:00
use crate::auth::Auth;
2025-11-26 12:48:23 -07:00
2025-11-29 13:15:09 -07:00
#[derive(Default, serde::Deserialize, serde::Serialize)]
2025-11-29 16:38:12 -07:00
pub struct Config {
response_text: String,
}
2025-11-26 12:48:23 -07:00
2025-11-28 00:09:00 -07:00
impl Config {
2025-11-29 13:15:09 -07:00
pub fn update(&mut self, auth: &mut Auth, ui: &mut egui::Ui) {
if ui.button("Test").clicked() {
auth.test();
2025-11-26 12:48:23 -07:00
}
}
}