mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Replace default
with CountryCode.Unknown
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user