Skip to content

Commit

Permalink
boost(Telemetry): Add proper tooltip for explaining telemetry
Browse files Browse the repository at this point in the history
Fixes #736
  • Loading branch information
Belphemur committed Sep 4, 2021
1 parent c0a5bdd commit f90ca7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SoundSwitch/UI/Forms/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ public SettingsForm(IAudioDeviceLister audioDeviceLister)
toggleMuteLabel.Visible = false;

telemetryCheckbox.DataBindings.Add(nameof(CheckBox.Checked), AppModel.Instance, nameof(AppModel.Telemetry), false, DataSourceUpdateMode.OnPropertyChanged);
var telemetryToolTip = new ToolTip();
telemetryToolTip.SetToolTip(telemetryCheckbox, SettingsStrings.telemetry_desc);

quickMenuCheckbox.DataBindings.Add(nameof(CheckBox.Checked), AppModel.Instance, nameof(AppModel.QuickMenuEnabled), false, DataSourceUpdateMode.OnPropertyChanged);
var quickMenuCheckboxToolTip = new ToolTip();
quickMenuCheckboxToolTip.SetToolTip(quickMenuCheckbox, SettingsStrings.quickMenu_desc);
Expand Down

0 comments on commit f90ca7f

Please sign in to comment.