mirror of
https://github.com/ppy/osu.git
synced 2025-02-05 08:52:55 +08:00
Remove duplicate implementation of same thing
This commit is contained in:
parent
e96c5ce703
commit
6250caca29
@ -78,14 +78,7 @@ namespace osu.Game.Stores
|
|||||||
Files = new RealmFileStore(realm, storage);
|
Files = new RealmFileStore(realm, storage);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Task Import(params string[] paths)
|
public Task Import(params string[] paths) => Import(paths.Select(p => new ImportTask(p)).ToArray());
|
||||||
{
|
|
||||||
var notification = new ProgressNotification { State = ProgressNotificationState.Active };
|
|
||||||
|
|
||||||
PostNotification?.Invoke(notification);
|
|
||||||
|
|
||||||
return Import(notification, paths.Select(p => new ImportTask(p)).ToArray());
|
|
||||||
}
|
|
||||||
|
|
||||||
public Task Import(params ImportTask[] tasks)
|
public Task Import(params ImportTask[] tasks)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user