diff --git a/FoxTube/Pages/MainPage.xaml.cs b/FoxTube/Pages/MainPage.xaml.cs index b6af323..cff7741 100644 --- a/FoxTube/Pages/MainPage.xaml.cs +++ b/FoxTube/Pages/MainPage.xaml.cs @@ -90,6 +90,8 @@ namespace FoxTube catch { } } + content.Navigate(typeof(Home)); + SecretsVault.AuthorizationStateChanged += Vault_AuthorizationStateChanged; SecretsVault.SubscriptionsChanged += SecretsVault_SubscriptionsChanged; SecretsVault.NotPurchased += () => removeAds.Visibility = Visibility.Visible; @@ -236,8 +238,7 @@ namespace FoxTube } nav.SelectedItem = toHome; - if(content.Content is Home) - content.Navigate(typeof(Home)); + content.Navigate(typeof(Home)); if (videoPlaceholder.Content != null) GoToVideo((videoPlaceholder.Content as VideoPage).videoId);