feat: mobile tanks view sorting added

This commit is contained in:
Mikhail Shabanov committed 2022-05-04 10:33:51 +02:00
1 parent 1d402d16f9
commit 58414a3ac4
37 files changed
+266 -177

No files matched your search

@@ -47,6 +47,23 @@ namespace WotBlitzStatisticsPro.Blazor.Helpers
Constants.CountryEuropean => "flags/eu.png",
_ => "flags/vehicle.nation.unknown.scale-200.png"
};
}
public static string NationAssetFaded(this string nationTypeId)
{
return nationTypeId switch
{
Constants.CountryUsa => "flags/usa-faded.png",
Constants.CountryFrance => "flags/france-faded.png",
Constants.CountryUssr => "flags/ussr-faded.png",
Constants.CountryChina => "flags/china-faded.png",
Constants.CountryUk => "flags/uk-faded.png",
Constants.CountryJapan => "flags/japan-faded.png",
Constants.CountryGermany => "flags/germany-faded.png",
Constants.CountryOther => "flags/other-faded.png",
Constants.CountryEuropean => "flags/eu-faded.png",
_ => "flags/vehicle.nation.unknown.scale-200.png"
};
}
}
}