mirror of
https://github.com/ppy/osu.git
synced 2025-03-24 19:17:20 +08:00
Use virtual
property rather than inline iOS conditional
This commit is contained in:
parent
fcfab9e53c
commit
1a7feeb4ed
@ -221,9 +221,9 @@ namespace osu.Game
|
||||
private readonly List<OverlayContainer> visibleBlockingOverlays = new List<OverlayContainer>();
|
||||
|
||||
/// <summary>
|
||||
/// Whether the game should be limited to only display licensed content.
|
||||
/// Whether the game should be limited to only display officially licensed content.
|
||||
/// </summary>
|
||||
public bool HideUnlicensedContent => RuntimeInfo.OS == RuntimeInfo.Platform.iOS;
|
||||
public virtual bool HideUnlicensedContent => false;
|
||||
|
||||
public OsuGame(string[] args = null)
|
||||
{
|
||||
|
@ -17,6 +17,8 @@ namespace osu.iOS
|
||||
{
|
||||
public override Version AssemblyVersion => new Version(NSBundle.MainBundle.InfoDictionary["CFBundleVersion"].ToString());
|
||||
|
||||
public override bool HideUnlicensedContent => true;
|
||||
|
||||
protected override UpdateManager CreateUpdateManager() => new MobileUpdateNotifier();
|
||||
|
||||
protected override BatteryInfo CreateBatteryInfo() => new IOSBatteryInfo();
|
||||
|
Loading…
x
Reference in New Issue
Block a user