Skip to content

Commit

Permalink
Fix notification type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Onebeld committed Jul 8, 2023
1 parent 5fbb10a commit 1be3f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.Controls/Notifications/NotificationCard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public NotificationCard()
this.GetObservable(ContentProperty)
.Subscribe(x =>
{
if (x is Notification notification)
if (x is INotification notification)
{
switch (notification.Type)
{
Expand Down

0 comments on commit 1be3f9d

Please sign in to comment.