File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Microsoft.Toolkit.Uwp.Notifications/Toasts/Compat Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -157,10 +157,10 @@ private void PreprocessScheduledToast(ScheduledToastNotification notification)
157
157
// For apps that don't have identity...
158
158
if ( ! DesktopBridgeHelpers . HasIdentity ( ) )
159
159
{
160
- // If tag is specified
161
- if ( ! string . IsNullOrEmpty ( notification . Tag ) )
160
+ // If tag is specified and group isn't specified
161
+ if ( ! string . IsNullOrEmpty ( notification . Tag ) && string . IsNullOrEmpty ( notification . Group ) )
162
162
{
163
- // If group isn't specified, we have to add a group since otherwise can't remove without a group
163
+ // We have to add a group since otherwise can't remove without a group
164
164
notification . Group = ToastNotificationManagerCompat . DEFAULT_GROUP ;
165
165
}
166
166
}
You can’t perform that action at this time.
0 commit comments