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"> <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"> <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 />
<MudSkeleton Animation="Animation.Wave" /> <MudSkeleton Animation="Animation.Wave" />

View File

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