Skip to content

Commit

Permalink
Fixed an issue causing a crash on device with no available audio output
Browse files Browse the repository at this point in the history
  • Loading branch information
Valkirie authored and CasperH2O committed Apr 19, 2024
1 parent 9969bb1 commit bc1041c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions HandheldCompanion/Views/Pages/SettingsPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ private void SettingsManager_SettingValueChanged(string? name, object value)
Toggle_QuicktoolsAutoHide.IsOn = Convert.ToBoolean(value);
break;
case "UISounds":
Toggle_UISounds.IsEnabled = MultimediaManager.HasVolumeSupport();
Toggle_UISounds.IsOn = Convert.ToBoolean(value);
break;
}
Expand Down

0 comments on commit bc1041c

Please sign in to comment.