Skip to content

Commit 80a5f59

Browse files
authored
Fix: Fixed an issue with opening shell locations on startup (#17863)
1 parent 868a6f1 commit 80a5f59

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Files.App/MainWindow.xaml.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -253,14 +253,6 @@ private async Task InitializeFromCmdLineArgsAsync(Frame rootFrame, ParsedCommand
253253
{
254254
async Task PerformNavigationAsync(string payload, string selectItem = null)
255255
{
256-
if (!string.IsNullOrEmpty(payload))
257-
{
258-
payload = Constants.UserEnvironmentPaths.ShellPlaces.Get(payload.ToUpperInvariant(), payload);
259-
var folder = (StorageFolder)await FilesystemTasks.Wrap(() => StorageFolder.GetFolderFromPathAsync(payload).AsTask());
260-
if (folder is not null && !string.IsNullOrEmpty(folder.Path))
261-
payload = folder.Path; // Convert short name to long name (#6190)
262-
}
263-
264256
var generalSettingsService = Ioc.Default.GetService<IGeneralSettingsService>();
265257

266258
double boundsWidth = 0;

0 commit comments

Comments
 (0)