Skip to content

Commit

Permalink
boost(Foreground::Switch): Disable switching foreground application f…
Browse files Browse the repository at this point in the history
…or everybody. Feature should only be on for people that needs it.

This feature causes more issue than anything.
See #636
  • Loading branch information
Belphemur committed May 9, 2021
1 parent ca188bd commit 09a8228
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public SoundSwitchConfiguration()
{
// Basic Settings
FirstRun = true;
SwitchForegroundProgram = true;
SwitchForegroundProgram = false;

// Audio Settings
ChangeCommunications = false;
Expand Down Expand Up @@ -187,6 +187,13 @@ public bool Migrate()
migrated = true;
}

if (!MigratedFields.Contains($"{nameof(SwitchForegroundProgram)}_force_off"))
{
SwitchForegroundProgram = false;
MigratedFields.Add($"{nameof(SwitchForegroundProgram)}_force_off");
migrated = true;
}

return migrated;
#pragma warning restore 612
}
Expand Down

0 comments on commit 09a8228

Please sign in to comment.