mirror of
https://github.com/ppy/osu.git
synced 2025-02-24 04:22:54 +08:00
Remove redundant type specification
This commit is contained in:
parent
01e489e9c3
commit
256789193f
@ -2,7 +2,6 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Extensions.Color4Extensions;
|
||||
using osu.Framework.Graphics;
|
||||
@ -156,7 +155,7 @@ namespace osu.Game.Collections
|
||||
Colour = colours.Yellow
|
||||
});
|
||||
|
||||
itemCountSubscription = realm.SubscribeToPropertyChanged<BeatmapCollection, IList<string>>(r => r.Find<BeatmapCollection>(collection.ID), c => c.BeatmapMD5Hashes, _ =>
|
||||
itemCountSubscription = realm.SubscribeToPropertyChanged(r => r.Find<BeatmapCollection>(collection.ID), c => c.BeatmapMD5Hashes, _ =>
|
||||
Scheduler.AddOnce(() =>
|
||||
{
|
||||
int count = collection.PerformRead(c => c.BeatmapMD5Hashes.Count);
|
||||
|
Loading…
Reference in New Issue
Block a user