From 08e4a9df228fd09415044310bdcf733fa0701dc9 Mon Sep 17 00:00:00 2001 From: Marcel Baumgartner Date: Thu, 13 Apr 2023 16:43:30 +0200 Subject: [PATCH] Fixed is empty method --- Moonlight/App/Services/StorageService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {