Bugfix für Windows-App
This commit is contained in:
@@ -42,10 +42,14 @@ public partial class StundenPage : ContentPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void Vm_AlertEvent(object? sender, string e) {
|
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) {
|
private void Vm_InfoEvent(object? sender, string e) {
|
||||||
DisplayAlert("Information:", e, "OK");
|
MainThread.BeginInvokeOnMainThread(async () => {
|
||||||
|
await DisplayAlert("Information:", e, "OK");
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user