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

Use better naming for DiscordRichPresenceMode

This commit is contained in:
LavaDesu 2021-01-03 16:46:25 +07:00
parent 2e5c67be3f
commit 7c9f345cd2
No known key found for this signature in database
GPG Key ID: 9E756E533CC7ADF1
3 changed files with 4 additions and 4 deletions

View File

@ -82,7 +82,7 @@ namespace osu.Desktop
if (!client.IsInitialized)
return;
if (status.Value is UserStatusOffline || mode.Value == DiscordRichPresenceMode.Disabled)
if (status.Value is UserStatusOffline || mode.Value == DiscordRichPresenceMode.Off)
{
client.ClearPresence();
return;

View File

@ -7,11 +7,11 @@ namespace osu.Game.Configuration
{
public enum DiscordRichPresenceMode
{
Disabled,
Off,
[Description("Hide identifiable information")]
Limited,
Enabled
Full
}
}

View File

@ -138,7 +138,7 @@ namespace osu.Game.Configuration
Set(OsuSetting.MenuBackgroundSource, BackgroundSource.Skin);
Set(OsuSetting.SeasonalBackgroundMode, SeasonalBackgroundMode.Sometimes);
Set(OsuSetting.DiscordRichPresence, DiscordRichPresenceMode.Enabled);
Set(OsuSetting.DiscordRichPresence, DiscordRichPresenceMode.Full);
Set(OsuSetting.EditorWaveformOpacity, 1f);
}