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

Merge pull request #31037 from frenzibyte/ios-beatmap-export

Enable beatmap exports on iOS
This commit is contained in:
Dean Herbert 2024-12-11 00:12:56 -08:00 committed by GitHub
commit cc1f94939f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1277,12 +1277,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;