enable some string BannedApis

This commit is contained in:
goat 2024-07-11 00:20:00 +02:00
parent 577f17eb1b
commit 2cbb8b9e22
9 changed files with 20 additions and 20 deletions

View file

@ -138,7 +138,7 @@ public class Localization : IServiceType
/// <param name="langCode">The language code to set up the UI language with.</param>
public void SetupWithLangCode(string langCode)
{
if (langCode.ToLower() == FallbackLangCode)
if (langCode.Equals(FallbackLangCode, StringComparison.InvariantCultureIgnoreCase))
{
this.SetupWithFallbacks();
return;