create a task to export to avoid block main thread

Code quality and remove some #nullable disable
This commit is contained in:
cdwcgt
2022-11-17 00:01:29 +09:00
parent 335e4e8ec5
commit e1a21e0cf9
11 changed files with 78 additions and 36 deletions

View File

@ -1,9 +1,8 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Framework.Platform;
using osu.Game.Overlays;
using osu.Game.Skinning;
namespace osu.Game.Database
@ -12,8 +11,8 @@ namespace osu.Game.Database
{
protected override string FileExtension => ".osk";
public LegacySkinExporter(Storage storage)
: base(storage)
public LegacySkinExporter(Storage storage, INotificationOverlay? notificationOverlay)
: base(storage, notificationOverlay)
{
}
}