Switched from Login to Register

This commit is contained in:
2025-08-29 20:50:54 +03:30
parent 41e9382c42
commit 4ac5d66452
2 changed files with 6 additions and 10 deletions
@@ -14,6 +14,8 @@ import org.to.telegramfinalproject.Database.userDatabase;
import java.io.IOException;
import static org.to.telegramfinalproject.UI.AppRouter.showLogin;
public class RegisterController {
@FXML private TextField userIdField;
@@ -131,7 +133,7 @@ public class RegisterController {
@FXML
private void switchToLogin() throws IOException {
switchScene("login_view.fxml");
showLogin();
}
private void switchScene(String fxmlFile) {