login page is now being properly displayed

This commit is contained in:
filipriec
2025-03-26 00:04:30 +01:00
parent ad64df2ec3
commit 9564bd8524
2 changed files with 19 additions and 16 deletions

View File

@@ -122,14 +122,8 @@ impl IntroState {
pub fn handle_selection(&self, app_state: &mut crate::state::state::AppState) {
match self.selected_option {
0 => { /* Continue 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;
}
1 => {}
2 => {}
_ => {}
}
}