Skip to content

Commit

Permalink
toast
Browse files Browse the repository at this point in the history
  • Loading branch information
skyline75489 committed Aug 29, 2024
1 parent 2662c86 commit 64fac8a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System.Text.Json;
using CommunityToolkit.Mvvm.Messaging.Messages;
using CommunityToolkit.Mvvm.Messaging;
using Microsoft.Maui.Controls;
using CommunityToolkit.Maui.Alerts;

namespace GennyMaui.ViewModels
{
Expand Down Expand Up @@ -43,7 +43,7 @@ private async Task OpenModelAsync()
}
else
{
await Application.Current.MainPage.DisplayAlert("Folder Open Error", result.Exception.Message, "OK");
Toast.Make("Folder Open Error: " + result.Exception.Message);
}
#endif
}
Expand Down

0 comments on commit 64fac8a

Please sign in to comment.