naps2/NAPS2.Lib/EtoForms/Notifications/SaveNotificationView.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

10 lines
315 B
C#

namespace NAPS2.EtoForms.Notifications;
public class SaveNotificationView : LinkNotificationView
{
public SaveNotificationView(SaveNotification model)
: base(model, model.Title, Path.GetFileName(model.Path), model.Path, Path.GetDirectoryName(model.Path))
{
HideTimeout = HIDE_SHORT;
}
}