diff --git a/GZStudio/Activation/AppNotificationActivationHandler.cs b/GZStudio/Activation/AppNotificationActivationHandler.cs index 5e7ed62..84eebe4 100644 --- a/GZStudio/Activation/AppNotificationActivationHandler.cs +++ b/GZStudio/Activation/AppNotificationActivationHandler.cs @@ -43,7 +43,7 @@ public class AppNotificationActivationHandler : ActivationHandler { - App.MainWindow.ShowMessageDialogAsync("TODO: Handle notification activations.", "Notification Activation"); + App.MainWindow.ShowMessageDialogAsync("TODO: Handle notification activations.", "Notification Activation"); }); await Task.CompletedTask; diff --git a/GZStudio/App.xaml.cs b/GZStudio/App.xaml.cs index 70e846a..d96168b 100644 --- a/GZStudio/App.xaml.cs +++ b/GZStudio/App.xaml.cs @@ -98,8 +98,8 @@ public partial class App : Application protected async override void OnLaunched(LaunchActivatedEventArgs args) { base.OnLaunched(args); - - App.GetService().Show(string.Format("AppNotificationSamplePayload".GetLocalized(), AppContext.BaseDirectory)); + // cancel notification + // App.GetService().Show(string.Format("AppNotificationSamplePayload".GetLocalized(), AppContext.BaseDirectory)); await App.GetService().ActivateAsync(args); }