Skip to content

Commit

Permalink
Code Quality: Optimize the code logic for loading the file list (#15831)
Browse files Browse the repository at this point in the history
Signed-off-by: Tptogiar <[email protected]>
  • Loading branch information
Tptogiar authored Jul 21, 2024
1 parent c9e9c6b commit f7cac70
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Files.App/ViewModels/ShellViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,6 @@ await Task.Run(async () =>
List<ListedItem> fileList = await Win32StorageEnumerator.ListEntries(path, hFile, findData, cancellationToken, -1, intermediateAction: async (intermediateList) =>
{
filesAndFolders.AddRange(intermediateList);
await OrderFilesAndFoldersAsync();
await ApplyFilesAndFoldersChangesAsync();
});

Expand Down

0 comments on commit f7cac70

Please sign in to comment.