mirror of
https://github.com/DrMboga/WotBlitzStatisticsBlazor.git
synced 2026-10-21 02:17:20 +02:00
chore: assembly version added
This commit is contained in:
1 parent
e093cdf4ca
commit
75d1c17b4b
3 files changed
+6
-1
No files matched your search
@@ -42,7 +42,7 @@
|
||||
</RadzenSidebar>
|
||||
<RadzenFooter>
|
||||
<ChildContent>
|
||||
<RadzenLabel Text="WOT Blitz statistics, Copyright © 2021">
|
||||
<RadzenLabel Text=@($"WOT Blitz statistics {@Version} © 2021")>
|
||||
</RadzenLabel>
|
||||
<RadzenLink Text="DrMboga" Path="https://github.com/DrMboga/WotBlitzStatisticsBlazor" Target="_blank" Style="margin-left:5px;vertical-align:bottom;" />
|
||||
</ChildContent>
|
||||
|
||||
@@ -8,6 +8,7 @@ using Radzen.Blazor;
|
||||
using WotBlitzStatisticsPro.Blazor.Messages;
|
||||
using WotBlitzStatisticsPro.Blazor.Model;
|
||||
using WotBlitzStatisticsPro.Blazor.Services;
|
||||
using System.Reflection;
|
||||
|
||||
namespace WotBlitzStatisticsPro.Blazor.Shared
|
||||
{
|
||||
@@ -27,6 +28,8 @@ namespace WotBlitzStatisticsPro.Blazor.Shared
|
||||
public bool SidebarExpanded { get; set; } = false;
|
||||
public bool BodyExpanded { get; set; } = true;
|
||||
|
||||
public string Version { get; set; }
|
||||
|
||||
public Dictionary<string, CultureInfo> CultureInfos { get; set; } = new()
|
||||
{
|
||||
{ "en-US", new CultureInfo("en-US", false)},
|
||||
@@ -63,6 +66,7 @@ namespace WotBlitzStatisticsPro.Blazor.Shared
|
||||
//}
|
||||
|
||||
NotificationsService.MessageArrived += NotificationsService_MessageArrived;
|
||||
Version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
|
||||
}
|
||||
|
||||
private void NotificationsService_MessageArrived()
|
||||
|
||||
Reference in new issue
Block a user