Applied code fix

This commit is contained in:
Thorsten Sommer 2025-02-25 19:42:50 +01:00
parent 4121755c4c
commit ed1e8493cd
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ public partial class MudTextList : ComponentBase
public string Icon { get; set; } = Icons.Material.Filled.CheckCircle;
[Parameter]
public string Class { get; set; } = "";
public string Class { get; set; } = string.Empty;
private string Classes => $"mud-text-list {this.Class}";
}

View File

@ -84,7 +84,7 @@ public static class SettingsMigrations
{
Version = Version.V2,
Providers = previousData.Providers.Select(provider => provider with { IsSelfHosted = false, Hostname = "" }).ToList(),
Providers = previousData.Providers.Select(provider => provider with { IsSelfHosted = false, Hostname = string.Empty }).ToList(),
EnableSpellchecking = previousData.EnableSpellchecking,
IsSavingEnergy = previousData.IsSavingEnergy,