We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a5d04d commit 01a8ae1Copy full SHA for 01a8ae1
2 files changed
src/MudBlazor.ThemeManager/Components/MudThemeManager.razor.cs
@@ -327,7 +327,7 @@ private void UpdateCustomTheme()
327
{
328
return;
329
}
330
-
+
331
if (_currentPaletteLight is not null)
332
333
_customTheme.PaletteLight = _currentPaletteLight;
src/MudBlazor.ThemeManager/Extensions/Extension.cs
@@ -1,9 +1,11 @@
1
-using System.Text.Json;
+using System.Diagnostics.CodeAnalysis;
2
+using System.Text.Json;
3
4
namespace MudBlazor.ThemeManager.Extensions
5
6
public static class Extension
7
8
+ [RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed.")]
9
public static T? DeepClone<T>(this T source)
10
11
if (source is not null)
0 commit comments