Browse Source

Update NotificationKey.cs

pull/438/head
Ionite 10 months ago
parent
commit
0a540a8f39
No known key found for this signature in database
  1. 14
      StabilityMatrix.Core/Models/Settings/NotificationKey.cs

14
StabilityMatrix.Core/Models/Settings/NotificationKey.cs

@ -29,6 +29,20 @@ public record NotificationKey(string Value) : StringValue(Value)
DisplayName = "Download Completed"
};
public static NotificationKey Download_Failed =>
new("Download_Failed")
{
DefaultOption = NotificationOption.NativePush,
DisplayName = "Download Failed"
};
public static NotificationKey Download_Canceled =>
new("Download_Canceled")
{
DefaultOption = NotificationOption.NativePush,
DisplayName = "Download Canceled"
};
public static Dictionary<string, NotificationKey> All { get; } = GetValues<NotificationKey>();
/// <inheritdoc />

Loading…
Cancel
Save