Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

style(engines): collapse CanDownload back to single line

smjriflefc691da9d7ba
diff --git a/src/Filee.Engines/Infrastructure/EngineDownloads.cs b/src/Filee.Engines/Infrastructure/EngineDownloads.cs
index 4a150684..106af3bf 100644
--- a/src/Filee.Engines/Infrastructure/EngineDownloads.cs
+++ b/src/Filee.Engines/Infrastructure/EngineDownloads.cs
@@ -53,8 +53,7 @@ public static class EngineDownloads
/// <summary>Total download size of a package in bytes.</summary>
public static long DownloadSize(EnginePackage package) => package.Components.Sum(c => Components.GetValueOrDefault(c)?.Size ?? 0);
- public static bool CanDownload(EnginePackage package) =>
- package.Components.Count > 0 && package.Components.All(Components.ContainsKey);
+ public static bool CanDownload(EnginePackage package) => package.Components.Count > 0 && package.Components.All(Components.ContainsKey);
public static string? UnavailableReason(EnginePackage package)
{