register on the way
This commit is contained in:
@@ -4,6 +4,7 @@ use std::env;
|
||||
use common::proto::multieko2::table_definition::ProfileTreeResponse;
|
||||
use crate::components::IntroState;
|
||||
use crate::modes::handlers::mode_manager::AppMode;
|
||||
use crate::state::pages::auth::{AuthState, RegisterState};
|
||||
use crate::ui::handlers::context::DialogPurpose;
|
||||
|
||||
pub struct DialogState {
|
||||
@@ -21,9 +22,10 @@ pub struct UiState {
|
||||
pub show_admin: bool,
|
||||
pub show_form: bool,
|
||||
pub show_login: bool,
|
||||
pub show_register: bool,
|
||||
pub intro_state: IntroState,
|
||||
pub focus_outside_canvas: bool,
|
||||
pub dialog: DialogState, // Add dialog state here
|
||||
pub dialog: DialogState,
|
||||
}
|
||||
|
||||
pub struct GeneralState {
|
||||
@@ -144,6 +146,7 @@ impl Default for UiState {
|
||||
show_admin: false,
|
||||
show_form: false,
|
||||
show_login: false,
|
||||
show_register: false,
|
||||
intro_state: IntroState::new(),
|
||||
focus_outside_canvas: false,
|
||||
dialog: DialogState::default(),
|
||||
|
||||
Reference in New Issue
Block a user