diff --git a/FoxTube/Views/Home.xaml b/FoxTube/Views/Home.xaml index 16053ee..018960a 100644 --- a/FoxTube/Views/Home.xaml +++ b/FoxTube/Views/Home.xaml @@ -8,7 +8,7 @@ xmlns:homesections="using:FoxTube.Views.HomeSections" mc:Ignorable="d"> - + diff --git a/FoxTube/Views/Home.xaml.cs b/FoxTube/Views/Home.xaml.cs index fa584c5..f820067 100644 --- a/FoxTube/Views/Home.xaml.cs +++ b/FoxTube/Views/Home.xaml.cs @@ -10,7 +10,19 @@ namespace FoxTube.Views [Refreshable] public sealed partial class Home : Page { - public Home() => + public Home() + { InitializeComponent(); + + pivot.SelectedIndex = FoxTube.Settings.DefaultHomeTab; + } + + protected override void OnNavigatedTo(NavigationEventArgs e) + { + base.OnNavigatedTo(e); + + if (e.NavigationMode == NavigationMode.New) + pivot.SelectedIndex = FoxTube.Settings.DefaultHomeTab; + } } } \ No newline at end of file diff --git a/FoxTube/Views/SettingsSections/General.xaml b/FoxTube/Views/SettingsSections/General.xaml index abafc78..9687b54 100644 --- a/FoxTube/Views/SettingsSections/General.xaml +++ b/FoxTube/Views/SettingsSections/General.xaml @@ -15,7 +15,7 @@ - + @@ -60,11 +60,11 @@ - -