diff --git a/FoxTube/Controls/DownloadItem.xaml.cs b/FoxTube/Controls/DownloadItem.xaml.cs
index 4a431bd..938d14c 100644
--- a/FoxTube/Controls/DownloadItem.xaml.cs
+++ b/FoxTube/Controls/DownloadItem.xaml.cs
@@ -43,44 +43,42 @@ namespace FoxTube.Controls
client.DownloadFileCompleted += DownloadCompleted;
client.DownloadProgressChanged += UpdateInfo;
+ }
+ async void Download(string id, YouTubeQuality q)
+ {
try
{
- Download(id, q);
+ Id = id;
+ VideosResource.ListRequest request = SecretsVault.NoAuthService.Videos.List("snippet");
+ request.Id = id;
+ var response = (await request.ExecuteAsync()).Items[0];
+
+ Uri url = (await YouTube.GetVideoUriAsync(id, q)).Uri;
+
+ client.DownloadFileAsync(url, settings.Values["defaultDownload"] as string + $@"\{response.Snippet.Title} - {response.Snippet.ChannelTitle}.mp4");
+
+ thumbnail.Source = new BitmapImage(new Uri(response.Snippet.Thumbnails.Standard.Url));
+ title.Text = response.Snippet.Title;
+ channel.Text = $"Author: {response.Snippet.ChannelTitle}";
+
+ quality.Text = $"Quality: {Methods.QualityToString(q)}"; TimeSpan ts = XmlConvert.ToTimeSpan(response.ContentDetails.Duration);
+ duration.Text = string.Format("Duration: {0}{1:00}:{2:00} | ", ts.Hours == 0 ? "" : ts.Hours + ":", ts.Minutes, ts.Seconds);
+
+ uri = settings.Values["defaultDownload"] as string + $@"\{response.Snippet.Title} - {response.Snippet.ChannelTitle}.mp4";
+
+ status.Text = "Downloading...";
+ perc.Text = "0%";
}
catch
{
if (client.IsBusy)
client.CancelAsync();
- new MessageDialog("We were unable to download video due to connection problems or internal YouTube server error. Please, try again later.", "Failed to download").ShowAsync();
+ await new MessageDialog("We were unable to download video due to connection problems or internal YouTube server error. Please, try again later.", "Failed to download").ShowAsync();
throw new FileNotFoundException();
}
}
- async void Download(string id, YouTubeQuality q)
- {
- Id = id;
- VideosResource.ListRequest request = SecretsVault.NoAuthService.Videos.List("snippet");
- request.Id = id;
- var response = (await request.ExecuteAsync()).Items[0];
-
- Uri url = (await YouTube.GetVideoUriAsync(id, q)).Uri;
-
- client.DownloadFileAsync(url, settings.Values["defaultDownload"] as string + $@"\{response.Snippet.Title} - {response.Snippet.ChannelTitle}.mp4");
-
- thumbnail.Source = new BitmapImage(new Uri(response.Snippet.Thumbnails.Standard.Url));
- title.Text = response.Snippet.Title;
- channel.Text = $"Author: {response.Snippet.ChannelTitle}";
-
- quality.Text = $"Quality: {Methods.QualityToString(q)}"; TimeSpan ts = XmlConvert.ToTimeSpan(response.ContentDetails.Duration);
- duration.Text = string.Format("Duration: {0}{1:00}:{2:00} | ", ts.Hours == 0 ? "" : ts.Hours + ":", ts.Minutes, ts.Seconds);
-
- uri = settings.Values["defaultDownload"] as string + $@"\{response.Snippet.Title} - {response.Snippet.ChannelTitle}.mp4";
-
- status.Text = "Downloading...";
- perc.Text = "0%";
- }
-
private void UpdateInfo(object sender, DownloadProgressChangedEventArgs e)
{
progressBar.Value = e.ProgressPercentage;
diff --git a/FoxTube/FoxTube.csproj b/FoxTube/FoxTube.csproj
index f5fc5c3..082ee53 100644
--- a/FoxTube/FoxTube.csproj
+++ b/FoxTube/FoxTube.csproj
@@ -130,11 +130,11 @@
Downloads.xaml
-
- Feedback.xaml
+
+ About.xaml
-
- General.xaml
+
+ Feedback.xaml
History.xaml
@@ -142,7 +142,7 @@
Home.xaml
-
+
Inbox.xaml
@@ -171,7 +171,7 @@
SubLayer.xaml
-
+
Translate.xaml
@@ -318,11 +318,11 @@
Designer
MSBuild:Compile
-
+
Designer
MSBuild:Compile
-
+
Designer
MSBuild:Compile
@@ -334,7 +334,7 @@
Designer
MSBuild:Compile
-
+
Designer
MSBuild:Compile
@@ -370,7 +370,7 @@
Designer
MSBuild:Compile
-
+
Designer
MSBuild:Compile
@@ -414,6 +414,9 @@
1.29.2.1006
+
+ 10.1805.7001
+
6.1.5
@@ -442,6 +445,11 @@
FoxTube.Background
+
+
+ Microsoft Advertising SDK for XAML
+
+
14.0
diff --git a/FoxTube/Pages/General.xaml b/FoxTube/Pages/General.xaml
deleted file mode 100644
index 0c05b62..0000000
--- a/FoxTube/Pages/General.xaml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/FoxTube/Pages/General.xaml.cs b/FoxTube/Pages/General.xaml.cs
deleted file mode 100644
index 7ec2d44..0000000
--- a/FoxTube/Pages/General.xaml.cs
+++ /dev/null
@@ -1,79 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Runtime.InteropServices.WindowsRuntime;
-using Windows.Foundation;
-using Windows.Foundation.Collections;
-using Windows.Storage;
-using Windows.UI.Xaml;
-using Windows.UI.Xaml.Controls;
-using Windows.UI.Xaml.Controls.Primitives;
-using Windows.UI.Xaml.Data;
-using Windows.UI.Xaml.Input;
-using Windows.UI.Xaml.Media;
-using Windows.UI.Xaml.Navigation;
-
-// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
-
-namespace FoxTube
-{
- ///
- /// An empty page that can be used on its own or navigated to within a Frame.
- ///
- public sealed partial class General : Page
- {
- ApplicationDataContainer settings = ApplicationData.Current.LocalSettings;
- public General()
- {
- this.InitializeComponent();
- language.SelectedIndex = (int)settings.Values["language"];
- quality.SelectedIndex = (int)settings.Values["quality"];
-
- notifications.IsOn = (bool)settings.Values["notifications"];
- newVideo.IsChecked = (bool)settings.Values["newVideoNotification"];
- messages.IsChecked = (bool)settings.Values["newmessagesNotification"];
-
- mobileWarning.IsOn = (bool)settings.Values["moblieWarning"];
- autoplay.IsOn = (bool)settings.Values["videoAutoplay"];
- }
-
- private void language_SelectionChanged(object sender, SelectionChangedEventArgs e)
- {
- if((int)settings.Values["language"] != language.SelectedIndex)
- {
- settings.Values["language"] = language.SelectedIndex;
- restartNote.Visibility = Visibility.Visible;
- }
- }
-
- private void quality_SelectionChanged(object sender, SelectionChangedEventArgs e)
- {
- if ((int)settings.Values["quality"] != quality.SelectedIndex)
- settings.Values["quality"] = quality.SelectedIndex;
- }
-
- private void notification_IsEnabledChanged(object sender, RoutedEventArgs e)
- {
- if (notifications.IsOn)
- {
- settings.Values["notificaitons"] = true;
-
- newVideo.IsEnabled = false;
- messages.IsEnabled = false;
- }
-
- if ((bool)settings.Values["newVideoNotification"] != newVideo.IsChecked)
- settings.Values["newVideoNotification"] = newVideo.IsChecked;
-
- if ((bool)settings.Values["newmessagesNotification"] != messages.IsChecked)
- settings.Values["newmessagesNotification"] = messages.IsChecked;
-
- if ((bool)settings.Values["moblieWarning"] != mobileWarning.IsOn)
- settings.Values["moblieWarning"] = mobileWarning.IsOn;
-
- if ((bool)settings.Values["videoAutoplay"] != autoplay.IsOn)
- settings.Values["videoAutoplay"] = autoplay.IsOn;
- }
- }
-}
diff --git a/FoxTube/Pages/MainPage.xaml b/FoxTube/Pages/MainPage.xaml
index cae4469..a3a400c 100644
--- a/FoxTube/Pages/MainPage.xaml
+++ b/FoxTube/Pages/MainPage.xaml
@@ -5,10 +5,25 @@
xmlns:local="using:FoxTube"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:ads="using:Microsoft.Advertising.WinRT.UI"
mc:Ignorable="d"
SizeChanged="Page_SizeChanged">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -24,7 +39,7 @@
-
+
-->
-
+
+
+
+
+
+
+
diff --git a/FoxTube/Pages/MainPage.xaml.cs b/FoxTube/Pages/MainPage.xaml.cs
index be0e47c..74544b8 100644
--- a/FoxTube/Pages/MainPage.xaml.cs
+++ b/FoxTube/Pages/MainPage.xaml.cs
@@ -71,8 +71,6 @@ namespace FoxTube
if (settings.Values["newVideoNotification"] == null)
settings.Values.Add("newVideoNotification", true);
- if (settings.Values["notifications"] == null)
- settings.Values.Add("notifications", true);
if (settings.Values["newmessagesNotification"] == null)
settings.Values.Add("newmessagesNotification", true);
@@ -219,52 +217,15 @@ namespace FoxTube
notificationMenu.Content = "";
}
- private void HamburgerSelectionChanged(object sender, SelectionChangedEventArgs e)
- {
- try
- {
- if (sender == mainList)
- {
- subscriptionsList.SelectedItem = null;
- categoriesList.SelectedItem = null;
- serviceList.SelectedItem = null;
- MainListSelected();
- }
- else if (sender == subscriptionsList)
- {
- mainList.SelectedItem = null;
- categoriesList.SelectedItem = null;
- serviceList.SelectedItem = null;
- SubscriptionSelected();
- }
- else if (sender == categoriesList)
- {
- subscriptionsList.SelectedItem = null;
- mainList.SelectedItem = null;
- serviceList.SelectedItem = null;
- FeaturedSelected();
- }
- else if (sender == serviceList)
- {
- subscriptionsList.SelectedItem = null;
- mainList.SelectedItem = null;
- categoriesList.SelectedItem = null;
- ServiceListSelected();
- }
- else
- {
- mainList.SelectedItem = null;
- subscriptionsList.SelectedItem = null;
- categoriesList.SelectedItem = null;
- serviceList.SelectedItem = null;
- }
- } catch { }
- }
-
- void MainListSelected()
+ void MainListSelected(object sender, SelectionChangedEventArgs e)
{
if (mainList.SelectedItem == null)
return;
+
+ subscriptionsList.SelectedItem = null;
+ categoriesList.SelectedItem = null;
+ serviceList.SelectedItem = null;
+
object s = mainList.SelectedItem;
if (s == toHistory)
@@ -281,10 +242,15 @@ namespace FoxTube
content.Navigate(typeof(Home));
}
- void ServiceListSelected()
+ void ServiceListSelected(object sender, SelectionChangedEventArgs e)
{
if (serviceList.SelectedItem == null)
return;
+
+ mainList.SelectedItem = null;
+ subscriptionsList.SelectedItem = null;
+ categoriesList.SelectedItem = null;
+
object s = serviceList.SelectedItem;
if (s == toChannel)
@@ -295,18 +261,28 @@ namespace FoxTube
content.Navigate(typeof(Settings));
}
- void SubscriptionSelected()
+ void SubscriptionSelected(object sender, SelectionChangedEventArgs e)
{
if (subscriptionsList.SelectedItem == null)
return;
+
+ mainList.SelectedItem = null;
+ categoriesList.SelectedItem = null;
+ serviceList.SelectedItem = null;
+
content.Navigate(typeof(Channel), SecretsVault.Subscriptions[subscriptionsList.SelectedIndex - 1].Snippet.ChannelId);
}
- void FeaturedSelected()
+ void FeaturedSelected(object sender, SelectionChangedEventArgs e)
{
if (serviceList.SelectedItem == null)
return;
- switch(serviceList.SelectedIndex)
+
+ mainList.SelectedItem = null;
+ subscriptionsList.SelectedItem = null;
+ serviceList.SelectedItem = null;
+
+ switch (serviceList.SelectedIndex)
{
case 0:
content.Navigate(typeof(Channel), "UC-9-kyTW8ZkZNDHQJ6FgpwQ");
@@ -521,13 +497,11 @@ namespace FoxTube
public void GoToChannel(string id)
{
MinimizeVideo();
- headerText.Text = "Channel overview";
content.Navigate(typeof(Channel), id);
}
public void GoToVideo(string id)
{
- headerText.Text = "Video";
menu.DisplayMode = SplitViewDisplayMode.CompactOverlay;
menu.IsPaneOpen = false;
isForcedCollapsed = true;
@@ -544,13 +518,13 @@ namespace FoxTube
public void GoToDeveloper(string id)
{
-
+ MinimizeVideo();
+ content.Navigate(typeof(Settings), "inbox");
}
public void GoToPlaylist(string id)
{
MinimizeVideo();
- headerText.Text = "Playlist overview";
content.Navigate(typeof(PlaylistPage), id);
}
diff --git a/FoxTube/Pages/PlaylistPage.xaml b/FoxTube/Pages/PlaylistPage.xaml
index dbb4294..42b88a4 100644
--- a/FoxTube/Pages/PlaylistPage.xaml
+++ b/FoxTube/Pages/PlaylistPage.xaml
@@ -6,6 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:foxtube="using:FoxTube"
+ xmlns:ui="using:Microsoft.Advertising.WinRT.UI"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
diff --git a/FoxTube/Pages/Settings.xaml b/FoxTube/Pages/Settings.xaml
index d8c76eb..bda4df0 100644
--- a/FoxTube/Pages/Settings.xaml
+++ b/FoxTube/Pages/Settings.xaml
@@ -6,6 +6,7 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:pages="using:FoxTube.Pages"
+ xmlns:settingspages="using:FoxTube.Pages.SettingsPages"
mc:Ignorable="d">
@@ -14,7 +15,7 @@
-
+
@@ -49,87 +50,21 @@
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
-
+
@@ -138,9 +73,6 @@
-
-
-
diff --git a/FoxTube/Pages/Settings.xaml.cs b/FoxTube/Pages/Settings.xaml.cs
index 1390136..ef64e53 100644
--- a/FoxTube/Pages/Settings.xaml.cs
+++ b/FoxTube/Pages/Settings.xaml.cs
@@ -16,6 +16,7 @@ using Windows.UI.Xaml.Data;
using Windows.UI.Xaml.Input;
using Windows.UI.Xaml.Media;
using Windows.UI.Xaml.Navigation;
+using FoxTube.Pages.SettingsPages;
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
@@ -27,22 +28,14 @@ namespace FoxTube
public sealed partial class Settings : Page
{
ApplicationDataContainer settings = ApplicationData.Current.LocalSettings;
- PackageVersion ver = Package.Current.Id.Version;
- public Pivot pivot;
- public Feedback fb;
public Settings()
{
this.InitializeComponent();
- version.Text = string.Format("{0}.{1}.{2}", ver.Major, ver.Minor, ver.Build);
- pivot = content;
- fb = feedbackHub.Content as Feedback;
language.SelectedIndex = (int)settings.Values["language"];
quality.SelectedIndex = (int)settings.Values["quality"];
newVideo.IsChecked = (bool)settings.Values["newVideoNotification"];
- newComment.IsChecked = (bool)settings.Values["newCommentNotification"];
- newPost.IsChecked = (bool)settings.Values["newPostNotification"];
messages.IsChecked = (bool)settings.Values["newmessagesNotification"];
mobileWarning.IsOn = (bool)settings.Values["moblieWarning"];
@@ -58,6 +51,35 @@ namespace FoxTube
}
}
+ protected override void OnNavigatedTo(NavigationEventArgs e)
+ {
+ base.OnNavigatedTo(e);
+ if(!string.IsNullOrWhiteSpace(e.Parameter as string))
+ {
+ if((e.Parameter as string).Contains("feedback"))
+ {
+ toFeedback_Click(this, null);
+ if ((string)e.Parameter != "feedback")
+ {
+ ((pivot.Items[1] as PivotItem).Content as Feedback).PreDefine(Convert.ToBoolean((e.Parameter as string).Split('&', '=')[2]), (e.Parameter as string).Split('&', '=')[4]);
+ }
+ }
+ else
+ switch(e.Parameter as string)
+ {
+ case "about":
+ toAbout_Click(this, null);
+ break;
+ case "translate":
+ toTranslate_Click(this, null);
+ break;
+ case "inbox":
+ toInbox_Click(this, null);
+ break;
+ }
+ }
+ }
+
private void language_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
if ((int)settings.Values["language"] != language.SelectedIndex)
@@ -69,8 +91,7 @@ namespace FoxTube
private void quality_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
- if ((int)settings.Values["quality"] != quality.SelectedIndex)
- settings.Values["quality"] = quality.SelectedIndex;
+ settings.Values["quality"] = quality.SelectedIndex;
}
private void notification_IsEnabledChanged(object sender, RoutedEventArgs e)
@@ -78,12 +99,6 @@ namespace FoxTube
if ((bool)settings.Values["newVideoNotification"] != newVideo.IsChecked)
settings.Values["newVideoNotification"] = newVideo.IsChecked;
- if ((bool)settings.Values["newPostNotification"] != newPost.IsChecked)
- settings.Values["newPostNotification"] = newPost.IsChecked;
-
- if ((bool)settings.Values["newCommentNotification"] != newComment.IsChecked)
- settings.Values["newCommentNotification"] = newComment.IsChecked;
-
if ((bool)settings.Values["newmessagesNotification"] != messages.IsChecked)
settings.Values["newmessagesNotification"] = messages.IsChecked;
@@ -96,50 +111,46 @@ namespace FoxTube
private void toGeneral_Click(object sender, RoutedEventArgs e)
{
- content.SelectedIndex = 0;
+ pivot.SelectedIndex = 0;
}
private void toFeedback_Click(object sender, RoutedEventArgs e)
{
- content.SelectedIndex = 2;
+ pivot.SelectedIndex = 1;
}
private void toTranslate_Click(object sender, RoutedEventArgs e)
{
- content.SelectedIndex = 4;
+ pivot.SelectedIndex = 3;
}
private void content_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
toGeneral.FontWeight = FontWeights.Normal;
- toAccount.FontWeight = FontWeights.Normal;
toFeedback.FontWeight = FontWeights.Normal;
toAbout.FontWeight = FontWeights.Normal;
toTranslate.FontWeight = FontWeights.Normal;
toInbox.FontWeight = FontWeights.Normal;
- if (content.SelectedIndex == 0)
+ if (pivot.SelectedIndex == 0)
toGeneral.FontWeight = FontWeights.Bold;
- else if (content.SelectedIndex == 1)
- toAccount.FontWeight = FontWeights.Bold;
- else if (content.SelectedIndex == 2)
+ else if (pivot.SelectedIndex == 1)
toFeedback.FontWeight = FontWeights.Bold;
- else if (content.SelectedIndex == 3)
+ else if (pivot.SelectedIndex == 2)
toAbout.FontWeight = FontWeights.Bold;
- else if (content.SelectedIndex == 4)
+ else if (pivot.SelectedIndex == 3)
toTranslate.FontWeight = FontWeights.Bold;
- else if (content.SelectedIndex == 5)
+ else if (pivot.SelectedIndex == 4)
+ {
toInbox.FontWeight = FontWeights.Bold;
- }
-
- private void toAccount_Click(object sender, RoutedEventArgs e)
- {
- content.SelectedIndex = 1;
+ if (!((pivot.SelectedItem as PivotItem).Content as Inbox).Loaded)
+ ((pivot.SelectedItem as PivotItem).Content as Inbox).LoadItems();
+ }
}
private void toAbout_Click(object sender, RoutedEventArgs e)
{
- content.SelectedIndex = 3;
+ pivot.SelectedIndex = 2;
}
private void region_SelectionChanged(object sender, SelectionChangedEventArgs e)
@@ -154,7 +165,7 @@ namespace FoxTube
private void toInbox_Click(object sender, RoutedEventArgs e)
{
- content.SelectedIndex = 5;
+ pivot.SelectedIndex = 4;
}
}
}
diff --git a/FoxTube/Pages/SettingsPages/About.xaml b/FoxTube/Pages/SettingsPages/About.xaml
new file mode 100644
index 0000000..59f9623
--- /dev/null
+++ b/FoxTube/Pages/SettingsPages/About.xaml
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Twitter: @XFox_Mike
+ Vkontakte: @XFox.Mike
+ YouTube: @FoxGameStudioChannel
+ E-mail: michael.xfox@outlook.com
+ My blog (Russian language only): https://michael-xfox.com
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/FoxTube/Pages/SettingsPages/About.xaml.cs b/FoxTube/Pages/SettingsPages/About.xaml.cs
new file mode 100644
index 0000000..8edefea
--- /dev/null
+++ b/FoxTube/Pages/SettingsPages/About.xaml.cs
@@ -0,0 +1,33 @@
+using System;
+using System.Collections.Generic;
+using System.IO;
+using System.Linq;
+using System.Runtime.InteropServices.WindowsRuntime;
+using Windows.ApplicationModel;
+using Windows.Foundation;
+using Windows.Foundation.Collections;
+using Windows.UI.Xaml;
+using Windows.UI.Xaml.Controls;
+using Windows.UI.Xaml.Controls.Primitives;
+using Windows.UI.Xaml.Data;
+using Windows.UI.Xaml.Input;
+using Windows.UI.Xaml.Media;
+using Windows.UI.Xaml.Navigation;
+
+// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238
+
+namespace FoxTube.Pages.SettingsPages
+{
+ ///
+ /// An empty page that can be used on its own or navigated to within a Frame.
+ ///
+ public sealed partial class About : Page
+ {
+ PackageVersion ver = Package.Current.Id.Version;
+ public About()
+ {
+ this.InitializeComponent();
+ version.Text = string.Format("{0}.{1}.{2}", ver.Major, ver.Minor, ver.Build);
+ }
+ }
+}
diff --git a/FoxTube/Pages/Feedback.xaml b/FoxTube/Pages/SettingsPages/Feedback.xaml
similarity index 98%
rename from FoxTube/Pages/Feedback.xaml
rename to FoxTube/Pages/SettingsPages/Feedback.xaml
index d67317f..b019910 100644
--- a/FoxTube/Pages/Feedback.xaml
+++ b/FoxTube/Pages/SettingsPages/Feedback.xaml
@@ -1,5 +1,5 @@
/// An empty page that can be used on its own or navigated to within a Frame.
diff --git a/FoxTube/Pages/Inbox.xaml b/FoxTube/Pages/SettingsPages/Inbox.xaml
similarity index 99%
rename from FoxTube/Pages/Inbox.xaml
rename to FoxTube/Pages/SettingsPages/Inbox.xaml
index 652e8de..60a2bd0 100644
--- a/FoxTube/Pages/Inbox.xaml
+++ b/FoxTube/Pages/SettingsPages/Inbox.xaml
@@ -1,5 +1,5 @@
/// An empty page that can be used on its own or navigated to within a Frame.
///
public sealed partial class Inbox : Page
{
+ public bool Loaded = false;
List backup = new List();
List items = new List();
public Inbox()
{
this.InitializeComponent();
- LoadItems();
}
public async void LoadItems()
diff --git a/FoxTube/Pages/Translate.xaml b/FoxTube/Pages/SettingsPages/Translate.xaml
similarity index 98%
rename from FoxTube/Pages/Translate.xaml
rename to FoxTube/Pages/SettingsPages/Translate.xaml
index 4f9c1e3..a7ab836 100644
--- a/FoxTube/Pages/Translate.xaml
+++ b/FoxTube/Pages/SettingsPages/Translate.xaml
@@ -1,5 +1,5 @@
/// An empty page that can be used on its own or navigated to within a Frame.
diff --git a/FoxTube/Pages/VideoGrid.xaml b/FoxTube/Pages/VideoGrid.xaml
index e94bf9c..14e1fe6 100644
--- a/FoxTube/Pages/VideoGrid.xaml
+++ b/FoxTube/Pages/VideoGrid.xaml
@@ -6,11 +6,45 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:controls="using:Microsoft.Toolkit.Uwp.UI.Controls"
+ xmlns:ui="using:Microsoft.Advertising.WinRT.UI"
x:Name="root"
mc:Ignorable="d">
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+