From d5a02ff02371245ec0b3f79210d20d33f9a53f47 Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Wed, 8 May 2019 10:20:54 +0100 Subject: [PATCH] remove redundant cast --- .../Notifications/WindowNotificationManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.Controls/Notifications/WindowNotificationManager.cs b/src/Avalonia.Controls/Notifications/WindowNotificationManager.cs index d2a2b7b3bf..0ffef01a66 100644 --- a/src/Avalonia.Controls/Notifications/WindowNotificationManager.cs +++ b/src/Avalonia.Controls/Notifications/WindowNotificationManager.cs @@ -155,7 +155,7 @@ namespace Avalonia.Controls.Notifications if (adornerLayer != null) { - adornerLayer.Children.Add(this as IControl); + adornerLayer.Children.Add(this); } } }