Fix download buttons not correctly finding existing downloads

This commit is contained in:
Dean Herbert
2019-06-27 16:53:44 +09:00
committed by naoey
parent 22067cd807
commit 72bb6f8c12

View File

@ -20,7 +20,7 @@ namespace osu.Game.Database
/// <typeparam name="TModel">The model type.</typeparam>
/// <typeparam name="TFileModel">The associated file join type.</typeparam>
public abstract class DownloadableArchiveModelManager<TModel, TFileModel> : ArchiveModelManager<TModel, TFileModel>, IModelDownloader<TModel>
where TModel : class, IHasFiles<TFileModel>, IHasPrimaryKey, ISoftDelete
where TModel : class, IHasFiles<TFileModel>, IHasPrimaryKey, ISoftDelete, IEquatable<TModel>
where TFileModel : INamedFileInfo, new()
{
public event Action<ArchiveDownloadRequest<TModel>> DownloadBegan;