Skip to content

Commit

Permalink
Merge pull request ppy#31037 from frenzibyte/ios-beatmap-export
Browse files Browse the repository at this point in the history
Enable beatmap exports on iOS
  • Loading branch information
peppy authored Dec 11, 2024
2 parents 02c52e4 + 2a4f596 commit cc1f949
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion osu.Game/Screens/Edit/Editor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1277,12 +1277,15 @@ private IEnumerable<MenuItem> createFileMenuItems()
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;
Expand Down

0 comments on commit cc1f949

Please sign in to comment.