Skip to content

Commit

Permalink
fix: fix binding method.
Browse files Browse the repository at this point in the history
  • Loading branch information
zdpcdt committed Sep 11, 2024
1 parent 88f6bb1 commit 73bfed8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Ursa/Controls/Notification/WindowNotificationManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,9 @@ public async void Show(
{
Content = content,
NotificationType = type,
ShowClose = showClose
ShowClose = showClose,
[!NotificationCard.PositionProperty] = this[!PositionProperty]
};
// this.Bind(PositionProperty,notificationControl.GetObservable(PositionProperty));
this[!PositionProperty] = notificationControl[!NotificationCard.PositionProperty];

// Add style classes if any
if (classes is not null)
Expand Down

0 comments on commit 73bfed8

Please sign in to comment.