Browse Source

Merge branch 'master' into remove-remaining-obsolete-members-from-assemblies

pull/8755/head
Jumar Macato 4 years ago
committed by GitHub
parent
commit
ee941efd11
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      src/Avalonia.Controls/Notifications/WindowNotificationManager.cs

11
src/Avalonia.Controls/Notifications/WindowNotificationManager.cs

@ -102,15 +102,12 @@ namespace Avalonia.Controls.Notifications
Content = content Content = content
}; };
if (notification != null) notificationControl.NotificationClosed += (sender, args) =>
{ {
notificationControl.NotificationClosed += (sender, args) => notification?.OnClose?.Invoke();
{
notification.OnClose?.Invoke();
_items?.Remove(sender); _items?.Remove(sender);
}; };
}
notificationControl.PointerPressed += (sender, args) => notificationControl.PointerPressed += (sender, args) =>
{ {

Loading…
Cancel
Save