working perfectly well, needs bug fixes to proper shortcuts to proper windows

This commit is contained in:
filipriec
2025-03-22 20:10:39 +01:00
parent 7d4b043d63
commit fe2d1e4684
2 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ pub fn render_ui(
command_message: &str, command_message: &str,
app_state: &AppState, app_state: &AppState,
intro_state: &intro::IntroState, intro_state: &intro::IntroState,
admin_panel_state: &AdminPanelState, admin_panel_state: &mut AdminPanelState,
) { ) {
render_background(f, f.area(), theme); render_background(f, f.area(), theme);

View File

@@ -32,7 +32,7 @@ pub async fn run_ui() -> Result<(), Box<dyn std::error::Error>> {
.iter() .iter()
.map(|p| p.name.clone()) .map(|p| p.name.clone())
.collect(); .collect();
let admin_panel_state = AdminPanelState::new(profiles); let mut admin_panel_state = AdminPanelState::new(profiles);
// Fetch table structure at startup (one-time) // Fetch table structure at startup (one-time)
let table_structure = grpc_client.get_table_structure().await?; let table_structure = grpc_client.get_table_structure().await?;
@@ -75,7 +75,7 @@ pub async fn run_ui() -> Result<(), Box<dyn std::error::Error>> {
&event_handler.command_message, &event_handler.command_message,
&app_state, &app_state,
&intro_state, &intro_state,
&admin_panel_state, &mut admin_panel_state,
); );
})?; })?;