Notification system development 1
This commit is contained in:
@@ -13,6 +13,7 @@ namespace FoxTube.Classes
|
||||
public string PatchVersion { get; set; }
|
||||
public string Subject { get; set; }
|
||||
public string Content { get; set; }
|
||||
public string Id { get; set; }
|
||||
|
||||
public string Icon
|
||||
{
|
||||
@@ -47,20 +48,22 @@ namespace FoxTube.Classes
|
||||
}
|
||||
|
||||
|
||||
public InboxItem(string version, string content, string timeStamp)
|
||||
public InboxItem(string version, string content, string timeStamp, string id)
|
||||
{
|
||||
Type = InboxItemType.PatchNote;
|
||||
PatchVersion = version;
|
||||
Content = content;
|
||||
TimeStamp = DateTime.Parse(timeStamp);
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public InboxItem(string title, string content, DateTime timeStamp)
|
||||
public InboxItem(string title, string content, DateTime timeStamp, string id)
|
||||
{
|
||||
Type = InboxItemType.Default;
|
||||
Content = content;
|
||||
Subject = title;
|
||||
TimeStamp = timeStamp;
|
||||
Id = id;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user