1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:07:23 +08:00

Remove redundant type specification

This commit is contained in:
Dean Herbert 2023-04-03 15:28:01 +09:00
parent 01e489e9c3
commit 256789193f

View File

@ -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);