This repository has been archived on 2025-07-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
EnvyUpdate/EnvyUpdate/Notify.cs
2022-12-26 17:28:38 +01:00

17 lines
No EOL
464 B
C#

using Microsoft.Toolkit.Uwp.Notifications;
namespace EnvyUpdate
{
internal class Notify
{
public static void ShowDrivUpdatePopup()
{
var toast = new ToastContentBuilder();
toast.AddText(Properties.Resources.update_popup_message);
toast.AddButton(new ToastButton()
.SetContent("Download")
.AddArgument("action", "download"));
toast.Show();
}
}
}