diff --git a/src/MicaApps.Mail.UWP/Pages/MailFolderDetailsPage.xaml.cs b/src/MicaApps.Mail.UWP/Pages/MailFolderDetailsPage.xaml.cs index f8d5797..926d888 100644 --- a/src/MicaApps.Mail.UWP/Pages/MailFolderDetailsPage.xaml.cs +++ b/src/MicaApps.Mail.UWP/Pages/MailFolderDetailsPage.xaml.cs @@ -51,7 +51,14 @@ protected override void OnNavigatedTo(NavigationEventArgs e) NavigationData = Data; FolderName.Text = Data.Name; NavigationTab.SelectedItem = FocusedTab; - + if(Data.Type == MailFolderType.Inbox && Data.MailType == MailType.Outlook) + { + NavigationTab.Visibility = Visibility.Visible; + } + else + { + NavigationTab.Visibility = Visibility.Collapsed; + } NavigationView_SelectionChanged(NavigationTab, null); } }