From f7cac70a313132eb89e6910a9f30b609fa7b4643 Mon Sep 17 00:00:00 2001 From: Tptogiar <2528891112@qq.com> Date: Sun, 21 Jul 2024 23:21:41 +0800 Subject: [PATCH] Code Quality: Optimize the code logic for loading the file list (#15831) Signed-off-by: Tptogiar --- src/Files.App/ViewModels/ShellViewModel.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Files.App/ViewModels/ShellViewModel.cs b/src/Files.App/ViewModels/ShellViewModel.cs index e87a3fe4f4bb..d491dae1aff4 100644 --- a/src/Files.App/ViewModels/ShellViewModel.cs +++ b/src/Files.App/ViewModels/ShellViewModel.cs @@ -1729,7 +1729,6 @@ await Task.Run(async () => List fileList = await Win32StorageEnumerator.ListEntries(path, hFile, findData, cancellationToken, -1, intermediateAction: async (intermediateList) => { filesAndFolders.AddRange(intermediateList); - await OrderFilesAndFoldersAsync(); await ApplyFilesAndFoldersChangesAsync(); });