Skip to content

Commit e5cc9b2

Browse files
Etap 4 - Testowanie aplikacji
1 parent 9233363 commit e5cc9b2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

PolsatLauncher-beta/Form1.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,9 @@ private async void button2_Click(object sender, EventArgs e)
355355
textBox1.Enabled = false;
356356
TextToLog("Success login: " + session.Username);
357357
tabControl1.SelectedTab.ToolTipText = session.Username;
358-
UpdateDiscordRichPresence();
358+
if (checkBox3.Checked) {
359+
UpdateDiscordRichPresence();
360+
}
359361
button1.Enabled = true;
360362
}
361363
catch (Exception ex)

0 commit comments

Comments
 (0)