This commit is contained in:
2024-10-26 23:07:24 +02:00
parent 00e37f9edf
commit 37df53d333
2 changed files with 13 additions and 20 deletions

View File

@@ -8,9 +8,7 @@ namespace Jugenddienst_Stunden.Views;
/// </summary>
public partial class StundenPage : ContentPage {
private int heightValue;
private int heightValue = 300;
/// <summary>
/// CTOR
@@ -32,15 +30,12 @@ public partial class StundenPage : ContentPage {
#elif WINDOWS
heightValue = 320;
#else
heightValue = 300;
heightValue = 300;
#endif
SizeChanged += OnPageSizeChanged;
}
private void Vm_AlertEvent(object? sender, string e) {
MainThread.BeginInvokeOnMainThread(async () => {
await DisplayAlert("Fehler:", e, "OK");
@@ -64,8 +59,6 @@ public partial class StundenPage : ContentPage {
return Preferences.Default.Get("apiKey", "") != "";
}
private async void NavigateToTargetPage() {
await Navigation.PushAsync(new LoginPage());
}