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