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 @@ -143,10 +143,10 @@ private void PreprocessToast(ToastNotification notification)
143
143
// For apps that don't have identity...
144
144
if ( ! DesktopBridgeHelpers . HasIdentity ( ) )
145
145
{
146
- // If tag is specified
147
- if ( ! string . IsNullOrEmpty ( notification . Tag ) )
146
+ // If tag is specified and group isn't specified
147
+ if ( ! string . IsNullOrEmpty ( notification . Tag ) && string . IsNullOrEmpty ( notification . Group ) )
148
148
{
149
- // If group isn't specified, we have to add a group since otherwise can't remove without a group
149
+ // We have to add a group since otherwise can't remove without a group
150
150
notification . Group = ToastNotificationManagerCompat . DEFAULT_GROUP ;
151
151
}
152
152
}
You can’t perform that action at this time.
0 commit comments