Browse Source
Merge branch 'master' into remove-remaining-obsolete-members-from-assemblies
pull/8755/head
Jumar Macato
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
7 deletions
-
src/Avalonia.Controls/Notifications/WindowNotificationManager.cs
|
|
|
@ -102,15 +102,12 @@ namespace Avalonia.Controls.Notifications |
|
|
|
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) => |
|
|
|
{ |
|
|
|
|