Replace default with CountryCode.Unknown

This commit is contained in:
Salman Ahmed
2022-07-18 08:54:35 +03:00
parent cf99849478
commit 018da74fe8
8 changed files with 12 additions and 11 deletions

View File

@ -32,14 +32,14 @@ namespace osu.Game.Users.Drawables
/// </summary>
public Action Action;
public UpdateableFlag(CountryCode countryCode = default)
public UpdateableFlag(CountryCode countryCode = CountryCode.Unknown)
{
CountryCode = countryCode;
}
protected override Drawable CreateDrawable(CountryCode countryCode)
{
if (countryCode == default && !ShowPlaceholderOnUnknown)
if (countryCode == CountryCode.Unknown && !ShowPlaceholderOnUnknown)
return null;
return new Container