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:
parent
6900d0120a
commit
6ef5b2733f
@ -158,7 +158,7 @@ namespace osu.Game.Overlays.Settings.Sections
|
||||
{
|
||||
try
|
||||
{
|
||||
skins.ExporCurrenttSkin();
|
||||
skins.CurrentSkinInfo.Value.PerformRead(s => skins.ExportSkin(s));
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user