1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-27 03:23:03 +08:00

Remove duplicate implementation of same thing

This commit is contained in:
Dean Herbert 2022-06-14 20:01:11 +09:00
parent e96c5ce703
commit 6250caca29

View File

@ -78,14 +78,7 @@ namespace osu.Game.Stores
Files = new RealmFileStore(realm, storage);
}
public Task Import(params string[] paths)
{
var notification = new ProgressNotification { State = ProgressNotificationState.Active };
PostNotification?.Invoke(notification);
return Import(notification, paths.Select(p => new ImportTask(p)).ToArray());
}
public Task Import(params string[] paths) => Import(paths.Select(p => new ImportTask(p)).ToArray());
public Task Import(params ImportTask[] tasks)
{