Now shows how many CChars left in the list
This commit is contained in:
parent
f634474923
commit
dab3cb47b7
4 changed files with 23 additions and 1 deletions
|
@ -5,6 +5,10 @@
|
|||
|
||||
<MudLayout>
|
||||
<MudAppBar Elevation="0">
|
||||
@if (Program.CCharsLeft > 0)
|
||||
{
|
||||
<MudText>@("CChars left: " + Program.CCharsLeft)</MudText>
|
||||
}
|
||||
<MudSpacer />
|
||||
<MudIconButton Icon="@Icons.Custom.Brands.MudBlazor" Color="Color.Inherit" Link="https://mudblazor.com/" Target="_blank" />
|
||||
<MudIconButton Icon="@Icons.Custom.Brands.LinkedIn" Color="Color.Inherit" Link="https://www.linkedin.com/in/zhentao-wei-3a3a0a182/" Target="_blank" />
|
||||
|
@ -17,5 +21,10 @@
|
|||
</MudLayout>
|
||||
|
||||
@code {
|
||||
protected override async Task OnInitializedAsync()
|
||||
{
|
||||
Program.UpdateUiEvent += OnUiUpdate;
|
||||
}
|
||||
|
||||
void OnUiUpdate() => StateHasChanged();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue