Bugfix für Windows-App
This commit is contained in:
@@ -28,24 +28,28 @@ public partial class StundenPage : ContentPage {
|
||||
//var desiredHeight = screenHeight - 450; // Abz<62>glich der Stunden<65>bersicht
|
||||
//stundeItems.HeightRequest = desiredHeight;
|
||||
|
||||
#if ANDROID
|
||||
#if ANDROID
|
||||
heightValue = 280;
|
||||
#elif IOS
|
||||
heightValue = 280;
|
||||
#elif IOS
|
||||
heightValue = 280;
|
||||
#elif WINDOWS
|
||||
#elif WINDOWS
|
||||
heightValue = 320;
|
||||
#else
|
||||
#else
|
||||
heightValue = 300;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
SizeChanged += OnPageSizeChanged;
|
||||
}
|
||||
|
||||
private void Vm_AlertEvent(object? sender, string e) {
|
||||
DisplayAlert("Fehler:", e, "OK");
|
||||
MainThread.BeginInvokeOnMainThread(async () => {
|
||||
await DisplayAlert("Fehler:", e, "OK");
|
||||
});
|
||||
}
|
||||
private void Vm_InfoEvent(object? sender, string e) {
|
||||
DisplayAlert("Information:", e, "OK");
|
||||
MainThread.BeginInvokeOnMainThread(async () => {
|
||||
await DisplayAlert("Information:", e, "OK");
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user