Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
aritchie committed Feb 19, 2025
1 parent c26bf92 commit a5cd162
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/Shiny.Mediator.Uno/Infrastructure/AlertDialogService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@
namespace Shiny.Mediator.Infrastructure;


public class AlertDialogService(INavigator navigator) : IAlertDialogService
public class AlertDialogService : IAlertDialogService
{
public async void Display(string title, string message)
{
try
{
await navigator.ShowMessageDialogAsync(
this,
title: title,
content: message
);

}
catch (Exception ex)
{
Console.WriteLine(ex);
}
// try
// {
// await navigator.ShowMessageDialogAsync(
// this,
// title: title,
// content: message
// );
//
// }
// catch (Exception ex)
// {
// Console.WriteLine(ex);
// }
}
}

0 comments on commit a5cd162

Please sign in to comment.