Improved Blazor syntax

This commit is contained in:
Thorsten Sommer 2026-02-15 18:06:31 +01:00
parent 00684157c8
commit 2ec520d4fe
Signed by untrusted user who does not match committer: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -208,10 +208,10 @@
</MudListItem> </MudListItem>
</MudList> </MudList>
<MudStack Row="true"> <MudStack Row="true">
<MudButton Variant="Variant.Filled" Color="Color.Info" StartIcon="@Icons.Material.Filled.Update" OnClick="() => this.CheckForUpdate()"> <MudButton Variant="Variant.Filled" Color="Color.Info" StartIcon="@Icons.Material.Filled.Update" OnClick="@(() => this.CheckForUpdate())">
@T("Check for updates") @T("Check for updates")
</MudButton> </MudButton>
<MudButton Variant="Variant.Filled" Color="Color.Default" StartIcon="@Icons.Material.Filled.Download" OnClick="async () => await this.ShowPandocDialog()"> <MudButton Variant="Variant.Filled" Color="Color.Default" StartIcon="@Icons.Material.Filled.Download" OnClick="@(async () => await this.ShowPandocDialog())">
@this.PandocButtonText @this.PandocButtonText
</MudButton> </MudButton>
</MudStack> </MudStack>
@ -260,14 +260,14 @@
@T("Startup log file") @T("Startup log file")
</MudText> </MudText>
<MudList T="string" Class="mb-3"> <MudList T="string" Class="mb-3">
<MudListItem T="string" Icon="@Icons.Material.Outlined.Folder" Text="@this.logPaths.LogStartupPath" OnClick="() => this.CopyStartupLogPath()"/> <MudListItem T="string" Icon="@Icons.Material.Outlined.Folder" Text="@this.logPaths.LogStartupPath" OnClick="@(() => this.CopyStartupLogPath())"/>
</MudList> </MudList>
<MudText Typo="Typo.h4"> <MudText Typo="Typo.h4">
@T("Usage log file") @T("Usage log file")
</MudText> </MudText>
<MudList T="string" Class="mb-3"> <MudList T="string" Class="mb-3">
<MudListItem T="string" Icon="@Icons.Material.Outlined.Folder" Text="@this.logPaths.LogAppPath" OnClick="() => this.CopyAppLogPath()"/> <MudListItem T="string" Icon="@Icons.Material.Outlined.Folder" Text="@this.logPaths.LogAppPath" OnClick="@(() => this.CopyAppLogPath())"/>
</MudList> </MudList>
</ExpansionPanel> </ExpansionPanel>