going directly into adminstate from appstate for the admin page. DESTROYED

This commit is contained in:
filipriec
2025-04-14 11:24:56 +02:00
parent 1927d1fa4d
commit 2d724876eb
10 changed files with 100 additions and 33 deletions

View File

@@ -27,11 +27,6 @@ pub struct UiState {
pub dialog: DialogState,
}
pub struct GeneralState {
pub selected_item: usize,
pub current_option: usize,
}
pub struct AppState {
// Core editor state
pub current_dir: String,
@@ -43,7 +38,6 @@ pub struct AppState {
// UI preferences
pub ui: UiState,
pub general: GeneralState,
}
impl AppState {
@@ -59,10 +53,6 @@ impl AppState {
selected_profile: None,
current_mode: AppMode::General,
ui: UiState::default(),
general: GeneralState {
selected_item: 0,
current_option: 0,
},
})
}