Remove weird local sample logic in `ChangelogOverlay`

This commit is contained in:
Dean Herbert 2021-06-12 00:05:49 +09:00
parent e098cac1cf
commit d9ea8d64d4
1 changed files with 0 additions and 5 deletions

View File

@ -25,8 +25,6 @@ public class ChangelogOverlay : OnlineOverlay<ChangelogHeader>
public readonly Bindable<APIChangelogBuild> Current = new Bindable<APIChangelogBuild>();
private Sample sampleBack;
private List<APIChangelogBuild> builds;
protected List<APIUpdateStream> Streams;
@ -41,8 +39,6 @@ private void load(AudioManager audio)
{
Header.Build.BindTarget = Current;
sampleBack = audio.Samples.Get(@"UI/generic-select-soft");
Current.BindValueChanged(e =>
{
if (e.NewValue != null)
@ -108,7 +104,6 @@ public override bool OnPressed(GlobalAction action)
else
{
Current.Value = null;
sampleBack?.Play();
}
return true;