feat: add VisualLayerManager ctor to Notification & Toast manager.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Avalonia.Controls;
|
||||
using Avalonia.Controls.Notifications;
|
||||
using Avalonia.Controls.Primitives;
|
||||
using Avalonia.Threading;
|
||||
|
||||
namespace Ursa.Controls;
|
||||
@@ -9,6 +10,13 @@ namespace Ursa.Controls;
|
||||
/// </summary>
|
||||
public class WindowToastManager : WindowMessageManager, IToastManager
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="WindowToastManager"/> class.
|
||||
/// </summary>
|
||||
public WindowToastManager()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="WindowToastManager"/> class.
|
||||
/// </summary>
|
||||
@@ -21,10 +29,7 @@ public class WindowToastManager : WindowMessageManager, IToastManager
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="WindowToastManager"/> class.
|
||||
/// </summary>
|
||||
public WindowToastManager()
|
||||
public WindowToastManager(VisualLayerManager? visualLayerManager) : base(visualLayerManager)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user