From f9354650d43d8c0a3191c2587f39232792b89fe5 Mon Sep 17 00:00:00 2001 From: Raspberry-Monster Date: Mon, 29 Jan 2024 13:38:51 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=94=AF=E6=8C=81=E4=BB=85=E5=9C=A8?= =?UTF-8?q?=E9=82=AE=E7=AE=B1=E4=B8=BAOutlook=E4=B8=94=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=A4=B9=E4=B8=BA=E6=94=B6=E4=BB=B6=E7=AE=B1=E7=9A=84=E6=83=85?= =?UTF-8?q?=E5=86=B5=E4=B8=8B=E6=98=BE=E7=A4=BANavigationTab"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 91e4b0a32a082fa28dfd0fdadaafdac1d9d5a452. --- .../Pages/MailFolderDetailsPage.xaml.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/MicaApps.Mail.UWP/Pages/MailFolderDetailsPage.xaml.cs b/src/MicaApps.Mail.UWP/Pages/MailFolderDetailsPage.xaml.cs index 926d888..f8d5797 100644 --- a/src/MicaApps.Mail.UWP/Pages/MailFolderDetailsPage.xaml.cs +++ b/src/MicaApps.Mail.UWP/Pages/MailFolderDetailsPage.xaml.cs @@ -51,14 +51,7 @@ 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); } }