From da99cca0c4de0f46e6b480d28bcf8a5590baa6a9 Mon Sep 17 00:00:00 2001 From: Michael Gordeev Date: Sun, 16 Dec 2018 00:04:08 +0300 Subject: [PATCH] #224: Fixed --- FoxTube/App.xaml.cs | 11 +- FoxTube/Controls/DownloadItem.xaml | 2 +- FoxTube/Controls/DownloadItem.xaml.cs | 113 ++++++++------- FoxTube/Controls/VideoPlayer.xaml | 8 ++ FoxTube/Controls/VideoPlayer.xaml.cs | 195 ++++++++++++++------------ FoxTube/Pages/VideoPage.xaml.cs | 37 +++-- 6 files changed, 198 insertions(+), 168 deletions(-) diff --git a/FoxTube/App.xaml.cs b/FoxTube/App.xaml.cs index 8290dd6..c6c14d7 100644 --- a/FoxTube/App.xaml.cs +++ b/FoxTube/App.xaml.cs @@ -1,6 +1,4 @@ -using Google.Apis.YouTube.v3; -using Google.Apis.YouTube.v3.Data; -using Newtonsoft.Json; +using Google.Apis.YouTube.v3.Data; using System; using System.Collections.Generic; using System.Diagnostics; @@ -9,13 +7,11 @@ using System.Linq; using Windows.ApplicationModel; using Windows.ApplicationModel.Activation; using Windows.ApplicationModel.Background; -using Windows.ApplicationModel.Core; using Windows.Globalization; using Windows.Storage; using Windows.System; using Windows.System.Power; using Windows.UI.Notifications; -using Windows.UI.Popups; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Navigation; @@ -81,11 +77,6 @@ namespace FoxTube rootFrame.NavigationFailed += OnNavigationFailed; - if (e.PreviousExecutionState == ApplicationExecutionState.Terminated) - { - //TODO: Load state from previously suspended application - } - // Place the frame in the current Window Window.Current.Content = rootFrame; } diff --git a/FoxTube/Controls/DownloadItem.xaml b/FoxTube/Controls/DownloadItem.xaml index 23eff25..7076e5d 100644 --- a/FoxTube/Controls/DownloadItem.xaml +++ b/FoxTube/Controls/DownloadItem.xaml @@ -44,7 +44,7 @@ - +