Skip to content

Commit

Permalink
Revert "支持仅在邮箱为Outlook且文件夹为收件箱的情况下显示NavigationTab"
Browse files Browse the repository at this point in the history
This reverts commit 91e4b0a.
  • Loading branch information
Raspberry-Monster committed Jan 29, 2024
1 parent 91e4b0a commit f935465
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/MicaApps.Mail.UWP/Pages/MailFolderDetailsPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit f935465

Please sign in to comment.