Remove outwards exposure of mute property

This commit is contained in:
Dean Herbert 2018-01-31 16:56:26 +09:00
parent 2865dd3a10
commit 97ae44f23c
1 changed files with 1 additions and 7 deletions

View File

@ -86,7 +86,7 @@ public bool Adjust(GlobalAction action)
return true;
case GlobalAction.ToggleMute:
Show();
Muted = !Muted;
muted.Toggle();
return true;
}
@ -103,12 +103,6 @@ private void volumeChanged(double newVolume)
private readonly BindableBool muted = new BindableBool();
public bool Muted
{
get => muted.Value;
set => muted.Value = value;
}
[BackgroundDependencyLoader]
private void load(AudioManager audio)
{