mirror of
https://github.com/Astatin3/unshell.git
synced 2026-06-08 22:38:01 -06:00
15 lines
296 B
Rust
15 lines
296 B
Rust
use crate::auth::Auth;
|
|
|
|
#[derive(Default, serde::Deserialize, serde::Serialize)]
|
|
pub struct Config {
|
|
response_text: String,
|
|
}
|
|
|
|
impl Config {
|
|
pub fn update(&mut self, auth: &mut Auth, ui: &mut egui::Ui) {
|
|
if ui.button("Test").clicked() {
|
|
auth.test();
|
|
}
|
|
}
|
|
}
|