Toast notifications for downloads
This commit is contained in:
@@ -9,7 +9,7 @@ namespace FoxTube.Background
|
||||
{
|
||||
XmlDocument template = new XmlDocument();
|
||||
|
||||
template.LoadXml($@"<toast activationType='foreground' launch='changelog-{version.Replace(".", "-")}'>
|
||||
template.LoadXml($@"<toast activationType='foreground' launch='changelog|{version.Replace(".", "-")}'>
|
||||
<visual>
|
||||
<binding template='ToastGeneric'>
|
||||
<image placement='hero' src='http://foxgame.hol.es/FoxTubeAssets/WhatsNewThumb.png'/>
|
||||
@@ -27,7 +27,7 @@ namespace FoxTube.Background
|
||||
{
|
||||
XmlDocument template = new XmlDocument();
|
||||
|
||||
template.LoadXml($@"<toast activationType='foreground' launch='video-{id}'>
|
||||
template.LoadXml($@"<toast activationType='foreground' launch='video|{id}'>
|
||||
<visual>
|
||||
<binding template='ToastGeneric'>
|
||||
<image placement='hero' src='{thumbnail}'/>
|
||||
@@ -50,7 +50,7 @@ namespace FoxTube.Background
|
||||
{
|
||||
XmlDocument template = new XmlDocument();
|
||||
|
||||
template.LoadXml($@"<toast activationType='foreground' launch='inbox-{id}'>
|
||||
template.LoadXml($@"<toast activationType='foreground' launch='inbox|{id}'>
|
||||
<visual>
|
||||
<binding template='ToastGeneric'>
|
||||
<image placement='hero' src='{thumbnail ?? "http://foxgame.hol.es/FoxTubeAssets/AnnouncementThumb.png"}'/>
|
||||
|
||||
Reference in New Issue
Block a user