We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81481a7 commit 8084030Copy full SHA for 8084030
src/HyperMC/lib/notifications/SendNotification.cs
@@ -4,13 +4,17 @@
4
using System.Text;
5
using System.Threading.Tasks;
6
using Microsoft.Toolkit.Uwp.Notifications;
7
-
+using DesktopToast;
8
+using DesktopNotifications;
9
namespace HyperMCLIB
10
{
11
public class SendNotification
12
- public static void buildNotification()
13
+ public void send(String title, String body)
14
15
+ ToastContentBuilder content = new ToastContentBuilder()
16
+ .AddText(title)
17
+ .AddText(body);
18
}
19
20
0 commit comments