fixing this

This commit is contained in:
filipriec
2025-04-14 13:23:09 +02:00
parent 71dabc1e37
commit adcd3b37fa
10 changed files with 21 additions and 19 deletions

View File

@@ -35,6 +35,7 @@ pub struct AppState {
pub profile_tree: ProfileTreeResponse,
pub selected_profile: Option<String>,
pub current_mode: AppMode,
pub focused_button_index: usize,
// UI preferences
pub ui: UiState,
@@ -52,6 +53,7 @@ impl AppState {
profile_tree: ProfileTreeResponse::default(),
selected_profile: None,
current_mode: AppMode::General,
focused_button_index: 0,
ui: UiState::default(),
})
}