diff --git a/Moonlight/App/Services/StorageService.cs b/Moonlight/App/Services/StorageService.cs index 455e5329..f9474581 100644 --- a/Moonlight/App/Services/StorageService.cs +++ b/Moonlight/App/Services/StorageService.cs @@ -39,7 +39,7 @@ public class StorageService private bool IsEmpty(string path) { - return !Directory.EnumerateFiles(path).Any(); + return !Directory.EnumerateFileSystemEntries(path).Any(); } private static void CopyFilesRecursively(string sourcePath, string targetPath) {