nothing is fixed, it doesnt work, i cant see a login page
This commit is contained in:
@@ -122,7 +122,10 @@ impl IntroState {
|
||||
pub fn handle_selection(&self, app_state: &mut crate::state::state::AppState) {
|
||||
match self.selected_option {
|
||||
0 => { /* Continue logic */ }
|
||||
1 => { /* Admin logic */ }
|
||||
1 => {
|
||||
app_state.ui.show_intro = false;
|
||||
app_state.ui.show_admin = true;
|
||||
}
|
||||
2 => {
|
||||
app_state.ui.show_intro = false;
|
||||
app_state.ui.show_login = true;
|
||||
@@ -130,4 +133,5 @@ impl IntroState {
|
||||
_ => {}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user