Skip to content

Commit 01a8ae1

Browse files
committed
Fix formatting
1 parent 7a5d04d commit 01a8ae1

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/MudBlazor.ThemeManager/Components/MudThemeManager.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ private void UpdateCustomTheme()
327327
{
328328
return;
329329
}
330-
330+
331331
if (_currentPaletteLight is not null)
332332
{
333333
_customTheme.PaletteLight = _currentPaletteLight;

src/MudBlazor.ThemeManager/Extensions/Extension.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
using System.Text.Json;
1+
using System.Diagnostics.CodeAnalysis;
2+
using System.Text.Json;
23

34
namespace MudBlazor.ThemeManager.Extensions
45
{
56
public static class Extension
67
{
8+
[RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed.")]
79
public static T? DeepClone<T>(this T source)
810
{
911
if (source is not null)

0 commit comments

Comments
 (0)