Remove drag handles from manage collections dialog for now

The realm implementation doesn't support this.
This commit is contained in:
Dean Herbert 2023-10-16 15:51:18 +09:00
parent 54722bf251
commit 36112302d6
No known key found for this signature in database
1 changed files with 7 additions and 1 deletions

View File

@ -36,7 +36,13 @@ public partial class DrawableCollectionListItem : OsuRearrangeableListItem<Live<
public DrawableCollectionListItem(Live<BeatmapCollection> item, bool isCreated)
: base(item)
{
ShowDragHandle.Value = item.IsManaged;
// For now we don't support rearranging and always use alphabetical sort.
// Change this to:
//
// ShowDragHandle.Value = item.IsManaged;
//
// if we want to support user sorting (but changes will need to be made to realm to persist).
ShowDragHandle.Value = false;
}
protected override Drawable CreateContent() => new ItemContent(Model);