Free, open-source Windows optimization tool for performance, privacy, and simplicity.
C# csharpdebloatdotnetgamingopen-sourceoptimizationoptimizeroptimizerduckperformanceprivacytweakertweakswindowswinui
Fix null safety in Safe method in SystemInfoService
itsfatduck625edde023a3
diff --git a/optimizerDuck/src/Core/Services/SystemInfoService.cs b/optimizerDuck/src/Core/Services/SystemInfoService.csindex 93e989a..a0bbf89 100644--- a/optimizerDuck/src/Core/Services/SystemInfoService.cs+++ b/optimizerDuck/src/Core/Services/SystemInfoService.cs@@ -777,5 +777,5 @@ public static class SystemInfoServicereturn panel;}- private static string Safe(string s) => Markup.Escape(s);+ private static string Safe(string? s) => Markup.Escape(s ?? "");}\ No newline at end of file