Renmae LARGE_DESCRIPTION => LargeDescription
This commit is contained in:
parent
4ef17f66c4
commit
31dd08f94a
1 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ namespace Ryujinx.Configuration
|
||||||
{
|
{
|
||||||
private static DiscordRpcClient DiscordClient;
|
private static DiscordRpcClient DiscordClient;
|
||||||
|
|
||||||
private static string LARGE_DESCRIPTION = "Ryujinx is a Nintendo Switch emulator.";
|
private static string LargeDescription = "Ryujinx is a Nintendo Switch emulator.";
|
||||||
|
|
||||||
public static RichPresence DiscordPresence { get; private set; }
|
public static RichPresence DiscordPresence { get; private set; }
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ namespace Ryujinx.Configuration
|
||||||
Assets = new Assets
|
Assets = new Assets
|
||||||
{
|
{
|
||||||
LargeImageKey = "ryujinx",
|
LargeImageKey = "ryujinx",
|
||||||
LargeImageText = LARGE_DESCRIPTION
|
LargeImageText = LargeDescription
|
||||||
},
|
},
|
||||||
Details = "Main Menu",
|
Details = "Main Menu",
|
||||||
State = "Idling",
|
State = "Idling",
|
||||||
|
@ -83,7 +83,7 @@ namespace Ryujinx.Configuration
|
||||||
DiscordPresence.State = state;
|
DiscordPresence.State = state;
|
||||||
DiscordPresence.Assets.LargeImageText = titleName;
|
DiscordPresence.Assets.LargeImageText = titleName;
|
||||||
DiscordPresence.Assets.SmallImageKey = "ryujinx";
|
DiscordPresence.Assets.SmallImageKey = "ryujinx";
|
||||||
DiscordPresence.Assets.SmallImageText = LARGE_DESCRIPTION;
|
DiscordPresence.Assets.SmallImageText = LargeDescription;
|
||||||
DiscordPresence.Timestamps = new Timestamps(DateTime.UtcNow);
|
DiscordPresence.Timestamps = new Timestamps(DateTime.UtcNow);
|
||||||
|
|
||||||
DiscordClient?.SetPresence(DiscordPresence);
|
DiscordClient?.SetPresence(DiscordPresence);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue