Skip to content

Commit

Permalink
Feature: Removed number of open tabs from the app title (#16522)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 authored Nov 25, 2024
1 parent 6e77389 commit ef55240
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Files.App/Helpers/Navigation/NavigationHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,17 +253,10 @@ await SafetyExtensions.IgnoreExceptions(async () =>
windowTitle = $"{leftTabInfo.tabLocationHeader} | {rightTabInfo.tabLocationHeader}";
}
else
{
(windowTitle, _, _) = await GetSelectedTabInfoAsync(paneArgs.LeftPaneNavPathParam);
}
}
else if (navigationArg is string pathArgs)
{
(windowTitle, _, _) = await GetSelectedTabInfoAsync(pathArgs);
}
if (MainPageViewModel.AppInstances.Count > 1)
windowTitle = $"{windowTitle} ({MainPageViewModel.AppInstances.Count})";
if (navigationArg == MainPageViewModel.SelectedTabItem?.NavigationParameter?.NavigationParameter)
MainWindow.Instance.AppWindow.Title = $"{windowTitle} - Files";
Expand Down

0 comments on commit ef55240

Please sign in to comment.