From f545edc6c140c8540b824716c84419382f06ff93 Mon Sep 17 00:00:00 2001 From: Michael Gordeev Date: Wed, 24 Oct 2018 21:07:08 +0300 Subject: [PATCH] Toast notifications for downloads --- FoxTube.Background/Notification.cs | 6 +-- FoxTube/Controls/DownloadItem.xaml | 2 +- FoxTube/Controls/DownloadItem.xaml.cs | 65 ++++++++++++++++++++++++--- FoxTube/Pages/Downloads.xaml.cs | 15 ++++++- FoxTube/Pages/MainPage.xaml.cs | 2 +- 5 files changed, 78 insertions(+), 12 deletions(-) diff --git a/FoxTube.Background/Notification.cs b/FoxTube.Background/Notification.cs index a1f08d0..8d3bebe 100644 --- a/FoxTube.Background/Notification.cs +++ b/FoxTube.Background/Notification.cs @@ -9,7 +9,7 @@ namespace FoxTube.Background { XmlDocument template = new XmlDocument(); - template.LoadXml($@" + template.LoadXml($@" @@ -27,7 +27,7 @@ namespace FoxTube.Background { XmlDocument template = new XmlDocument(); - template.LoadXml($@" + template.LoadXml($@" @@ -50,7 +50,7 @@ namespace FoxTube.Background { XmlDocument template = new XmlDocument(); - template.LoadXml($@" + template.LoadXml($@" diff --git a/FoxTube/Controls/DownloadItem.xaml b/FoxTube/Controls/DownloadItem.xaml index 720434e..34b5a96 100644 --- a/FoxTube/Controls/DownloadItem.xaml +++ b/FoxTube/Controls/DownloadItem.xaml @@ -45,7 +45,7 @@ - +