1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 11:07:52 +08:00

Export instead of ExportCurrentSkin

This commit is contained in:
cdwcgt 2022-12-15 21:41:15 +09:00
parent 6900d0120a
commit 6ef5b2733f
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ namespace osu.Game.Overlays.Settings.Sections
{
try
{
skins.ExporCurrenttSkin();
skins.CurrentSkinInfo.Value.PerformRead(s => skins.ExportSkin(s));
}
catch (Exception e)
{

View File

@ -287,7 +287,7 @@ namespace osu.Game.Skinning
public Task<Live<SkinInfo>> Import(ImportTask task, bool batchImport = false, CancellationToken cancellationToken = default) => skinImporter.Import(task, batchImport, cancellationToken);
public void ExporCurrenttSkin() => CurrentSkinInfo.Value.PerformRead(s => skinExporter.ExportAsync(s));
public Task ExportSkin(SkinInfo skin) => skinExporter.ExportAsync(skin);
#endregion