Browse Source

Force the theme to update when the checkbox changes

#FocusProblems
pull/52/head
Samuel Attard 7 years ago
parent
commit
c696354bbf
  1. 8
      Google Play Music/SettingsDialog.cs

8
Google Play Music/SettingsDialog.cs

@ -34,9 +34,17 @@ namespace Google_Play_Music
if (materialCheckBox1.Checked)
{
command = "window.turnOnCustom()";
app.Invoke((MethodInvoker)delegate
{
app.darkTheme();
});
} else
{
command = "window.turnOffCustom()";
app.Invoke((MethodInvoker)delegate
{
app.lightTheme();
});
}
app.Invoke((MethodInvoker)delegate
{

Loading…
Cancel
Save