Archived
1
0

Notification system development 1

This commit is contained in:
Michael Gordeev
2018-08-18 09:21:57 +03:00
parent 26907c9aac
commit 4c4f4ed967
13 changed files with 291 additions and 155 deletions
+5 -2
View File
@@ -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;
}
}
}