Rename isLoading to isLoadingLicence in the PandocDialog component

This commit is contained in:
Thorsten Sommer 2025-05-30 13:48:59 +02:00
parent 5e6b1188b1
commit e4b2d6ff0a
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@
<MudExpansionPanels Class="mb-3" MultiExpansion="@false" Outlined="false" Elevation="0">
<ExpansionPanel HeaderIcon="@Icons.Material.Filled.Verified" HeaderText="View GNU General Public License v2 (GPL)" MaxHeight="300" ExpandedChanged="this.WhenExpandingLicence">
@if (this.isLoading)
@if (this.isLoadingLicence)
{
<MudSkeleton />
<MudSkeleton Animation="Animation.Wave" />

View File

@ -37,7 +37,7 @@ public partial class PandocDialog : ComponentBase
private bool showSkeleton;
private bool showInstallPage;
private string? licenseText;
private bool isLoading;
private bool isLoadingLicence;
private int selectedInstallerIndex = SelectInstallerIndex();
private int selectedArchiveIndex = SelectArchiveIndex();
private string downloadUrlArchive = string.Empty;
@ -108,7 +108,7 @@ public partial class PandocDialog : ComponentBase
{
if (isExpanded)
{
this.isLoading = true;
this.isLoadingLicence = true;
try
{
this.licenseText = await this.LoadLicenseTextAsync();
@ -120,7 +120,7 @@ public partial class PandocDialog : ComponentBase
}
finally
{
this.isLoading = false;
this.isLoadingLicence = false;
}
}
else