nothing is fixed, it doesnt work, i cant see a login page

This commit is contained in:
filipriec
2025-03-25 23:23:47 +01:00
parent aab11c1cba
commit ad64df2ec3
2 changed files with 5 additions and 8 deletions

View File

@@ -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 {
_ => {}
}
}
}