Use property instead of type checking

This commit is contained in:
Craftplacer
2020-05-08 02:09:37 +02:00
parent c412afe35b
commit e6ad28a1cb
4 changed files with 8 additions and 2 deletions

View File

@ -17,6 +17,8 @@ namespace osu.Game.Updater
/// </summary>
public class UpdateManager : CompositeDrawable
{
public virtual bool CanPerformUpdate => false;
[Resolved]
private OsuConfigManager config { get; set; }