Archived
1
0
This commit is contained in:
Michael Gordeev
2018-10-09 18:27:13 +03:00
parent b8fc43f1e8
commit e57277f7a5
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -59,9 +59,9 @@ namespace FoxTube
private void pivot_SelectionChanged(object sender, SelectionChangedEventArgs e) private void pivot_SelectionChanged(object sender, SelectionChangedEventArgs e)
{ {
if (pivot.SelectedIndex == 3 && !inboxLoaded) if (pivot.SelectedIndex == 2 && !inboxLoaded)
{ {
(((pivot.Items[3] as PivotItem).Content as ScrollViewer).Content as Inbox).LoadItems(); (((pivot.Items[2] as PivotItem).Content as ScrollViewer).Content as Inbox).LoadItems();
inboxLoaded = true; inboxLoaded = true;
} }
} }
@@ -119,6 +119,7 @@ namespace FoxTube.Pages.SettingsPages
{ {
content.Text = ""; content.Text = "";
title.Text = ""; title.Text = "";
list.SelectedItem = null;
block.Visibility = Visibility.Visible; block.Visibility = Visibility.Visible;
} }