completely broken intro or admin

This commit is contained in:
filipriec
2025-03-23 15:35:57 +01:00
parent 4481560025
commit 87b07db26a
8 changed files with 21 additions and 19 deletions

View File

@@ -8,6 +8,7 @@ pub struct UiState {
pub is_saved: bool,
pub show_intro: bool,
pub show_admin: bool,
pub show_general_mode: bool,
}
pub struct GeneralState {
@@ -40,6 +41,10 @@ impl AppState {
profile_tree: ProfileTreeResponse::default(),
selected_profile: None,
ui: UiState::default(),
general: GeneralState {
selected_item: 0,
current_option: 0,
},
})
}
@@ -60,6 +65,7 @@ impl Default for UiState {
is_saved: false,
show_intro: true,
show_admin: false,
show_general_mode: false,
}
}
}