refactor(app): split dashboard settings and layout into partial classes

This commit is contained in:
2026-04-03 12:59:16 +02:00
parent b8b1c74a84
commit 08185f88cd
6 changed files with 218 additions and 155 deletions
-19
View File
@@ -29,22 +29,3 @@
</div>
</div>
@code {
private string clubName = string.Empty;
private bool saving;
private bool saved;
protected override async Task OnInitializedAsync()
{
clubName = await SettingsService.GetClubNameAsync() ?? string.Empty;
}
private async Task Save()
{
saving = true;
saved = false;
await SettingsService.SetClubNameAsync(clubName);
saved = true;
saving = false;
}
}