cancel notification

This commit is contained in:
jianxin committed 2024-08-27 23:37:22 +08:00
1 parent c9895f1960
commit 7fb94411c6
1 file changed
+2 -2
+2 -2
View File
@@ -98,8 +98,8 @@ public partial class App : Application
protected async override void OnLaunched(LaunchActivatedEventArgs args)
{
base.OnLaunched(args);
App.GetService<IAppNotificationService>().Show(string.Format("AppNotificationSamplePayload".GetLocalized(), AppContext.BaseDirectory));
// cancel notification
// App.GetService<IAppNotificationService>().Show(string.Format("AppNotificationSamplePayload".GetLocalized(), AppContext.BaseDirectory));
await App.GetService<IActivationService>().ActivateAsync(args);
}