feat: Tanks list for small screens - first step

This commit is contained in:
Mikhail Shabanov committed 2021-11-24 16:13:04 +01:00
1 parent 00a3572491
commit 0a73003005
4 files changed
+19 -5

No files matched your search

@@ -29,8 +29,14 @@
<PlayerInfoStatistics TanksList="@AccountInfo.Tanks"></PlayerInfoStatistics>
</RadzenTabsItem>
<RadzenTabsItem Icon="agriculture">
@*TODO: In case of @SmallScreen == true, then show new tanks list component - mobile version *@
<PlayerInfoTanksList TanksList="@AccountInfo.Tanks"></PlayerInfoTanksList>
@if (SmallScreen)
{
<PlayerInfoTanksListSmall TanksList="@AccountInfo.Tanks"></PlayerInfoTanksListSmall>
}
else
{
<PlayerInfoTanksList TanksList="@AccountInfo.Tanks"></PlayerInfoTanksList>
}
</RadzenTabsItem>
<RadzenTabsItem Icon="military_tech">
<PlayerInfoAchievements></PlayerInfoAchievements>