1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 15:40:14 +08:00

Export instead of ExportCurrentSkin

This commit is contained in:
cdwcgt
2022-12-15 21:41:15 +09:00
Unverified
parent 6900d0120a
commit 6ef5b2733f
2 changed files with 2 additions and 2 deletions
@@ -158,7 +158,7 @@ namespace osu.Game.Overlays.Settings.Sections
{
try
{
skins.ExporCurrenttSkin();
skins.CurrentSkinInfo.Value.PerformRead(s => skins.ExportSkin(s));
}
catch (Exception e)
{
+1 -1
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