mirror of
https://github.com/ppy/osu.git
synced 2025-01-27 11:12:59 +08:00
Merge pull request #28116 from bdach/integration-settings-only-on-desktop
Do not show integration settings on mobile
This commit is contained in:
commit
4c2ac479b7
@ -1,6 +1,7 @@
|
|||||||
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
|
using osu.Framework;
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Sprites;
|
using osu.Framework.Graphics.Sprites;
|
||||||
using osu.Framework.Localisation;
|
using osu.Framework.Localisation;
|
||||||
@ -25,8 +26,10 @@ namespace osu.Game.Overlays.Settings.Sections
|
|||||||
{
|
{
|
||||||
new WebSettings(),
|
new WebSettings(),
|
||||||
new AlertsAndPrivacySettings(),
|
new AlertsAndPrivacySettings(),
|
||||||
new IntegrationSettings()
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (RuntimeInfo.IsDesktop)
|
||||||
|
Add(new IntegrationSettings());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user