Skip to content

Commit 8084030

Browse files
Update SendNotification.cs
1 parent 81481a7 commit 8084030

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/HyperMC/lib/notifications/SendNotification.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@
44
using System.Text;
55
using System.Threading.Tasks;
66
using Microsoft.Toolkit.Uwp.Notifications;
7-
7+
using DesktopToast;
8+
using DesktopNotifications;
89
namespace HyperMCLIB
910
{
1011
public class SendNotification
1112
{
12-
public static void buildNotification()
13+
public void send(String title, String body)
1314
{
15+
ToastContentBuilder content = new ToastContentBuilder()
16+
.AddText(title)
17+
.AddText(body);
1418
}
1519
}
1620
}

0 commit comments

Comments
 (0)