Variable Höhe der Stundenliste

This commit is contained in:
2024-10-14 11:30:51 +02:00
parent e4d3fb2d82
commit 17be817e23
6 changed files with 23 additions and 7 deletions

View File

@@ -60,7 +60,8 @@ public partial class LoginPage : ContentPage {
Preferences.Default.Set("EmployeeId", int.Parse(op.id));
await DisplayAlert("Login erfolgreich", op.name + " " + op.surname, "OK");
await Navigation.PopAsync();
if (Navigation.NavigationStack.Count > 1)
await Navigation.PopAsync();
} catch (Exception e) {
await DisplayAlert("Fehler", e.Message, "OK");
}