1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-18 10:43:22 +08:00

Enable exporting beatmaps in iOS

This commit is contained in:
Salman Alshamrani 2024-12-09 07:47:28 -05:00
parent 1b8d9370aa
commit e9868c6318

View File

@ -1215,12 +1215,15 @@ namespace osu.Game.Screens.Edit
saveRelatedMenuItems.Add(save);
yield return save;
if (RuntimeInfo.IsDesktop)
if (RuntimeInfo.OS != RuntimeInfo.Platform.Android)
{
var export = createExportMenu();
saveRelatedMenuItems.AddRange(export.Items);
yield return export;
}
if (RuntimeInfo.IsDesktop)
{
var externalEdit = new EditorMenuItem("Edit externally", MenuItemType.Standard, editExternally);
saveRelatedMenuItems.Add(externalEdit);
yield return externalEdit;