DONE we have now intro state separate from others completely

This commit is contained in:
filipriec
2025-04-14 20:00:02 +02:00
parent 7cbe5ce8be
commit e31138c250
6 changed files with 35 additions and 30 deletions

View File

@@ -2,7 +2,6 @@
use std::env;
use common::proto::multieko2::table_definition::ProfileTreeResponse;
use crate::state::pages::intro::IntroState;
use crate::modes::handlers::mode_manager::AppMode;
use crate::ui::handlers::context::DialogPurpose;
@@ -22,7 +21,6 @@ pub struct UiState {
pub show_form: bool,
pub show_login: bool,
pub show_register: bool,
pub intro_state: IntroState,
pub focus_outside_canvas: bool,
pub dialog: DialogState,
}
@@ -138,7 +136,6 @@ impl Default for UiState {
show_form: false,
show_login: false,
show_register: false,
intro_state: IntroState::new(),
focus_outside_canvas: false,
dialog: DialogState::default(),
}