naps2/NAPS2.Lib/EtoForms/Notifications/ProgressNotification.cs
Ben Olden-Cooligan fbbdeb3a39 Separate notification models and views
This fixes language switching while notifications are visible
2023-04-16 14:35:25 -07:00

18 lines
427 B
C#

namespace NAPS2.EtoForms.Notifications;
public class ProgressNotification : NotificationModel
{
public ProgressNotification(OperationProgress progress, IOperation op)
{
Progress = progress;
Op = op;
}
public OperationProgress Progress { get; }
public IOperation Op { get; }
public override NotificationView CreateView()
{
return new ProgressNotificationView(this);
}
}