Skip to content
This repository has been archived by the owner on Feb 14, 2020. It is now read-only.

Commit

Permalink
Change textBox Name
Browse files Browse the repository at this point in the history
  • Loading branch information
gabehxd committed Sep 2, 2018
1 parent 41fe1fd commit 7a9ff0a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions SwitchRichPresence/SwitchRichPresence/Forms/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions SwitchRichPresence/SwitchRichPresence/Forms/MainForm.cs
Expand Up @@ -47,7 +47,7 @@ private void UpdateInfo()
discord.presence = new DiscordRpc.RichPresence()
{
details = "Playing " + CurrentPlaying.Metadata.GetLanguage().ApplicationName,
smallImageKey = textBox_overideswitch.Text,
smallImageKey = textBox_overrideicon.Text,
smallImageText = "Rich Presense Sysmodule",
largeImageKey = CurrentPlaying.Metadata.BaseTitleId.ToLower(),
largeImageText = CurrentPlaying.Metadata.GetLanguage().ApplicationName,
Expand Down Expand Up @@ -98,7 +98,7 @@ private void SaveConfig()
ClientID = textBox_clientId.Text,
ShowTimer = checkBox_showTime.Checked,
ShowUser = checkBox_showUser.Checked,
Icon = textBox_overideswitch.Text,
Icon = textBox_overrideicon.Text,
};
config.Save();
}
Expand All @@ -110,7 +110,7 @@ private void LoadConfig()
textBox_clientId.Text = config.ClientID;
checkBox_showTime.Checked = config.ShowTimer;
checkBox_showUser.Checked = config.ShowUser;
textBox_overideswitch.Text = config.Icon;
textBox_overrideicon.Text = config.Icon;
}

public MainForm()
Expand Down

0 comments on commit 7a9ff0a

Please sign in to comment.