Compare commits
No commits in common. "1fea2a2e1186d258193aeb309872e167b9f388b7" and "84a9a890746f52521543969b390f96a46955ac52" have entirely different histories.
1fea2a2e11
...
84a9a89074
@ -70,7 +70,6 @@ public class DialAction : EncoderBase
|
|||||||
_thread.Start();
|
_thread.Start();
|
||||||
|
|
||||||
_currentAudioSession = settings.FallbackBehavior == FallbackBehavior.SystemSounds ? _audioHelper.GetSystemSounds() : _audioHelper.GetSystemVolume();
|
_currentAudioSession = settings.FallbackBehavior == FallbackBehavior.SystemSounds ? _audioHelper.GetSystemSounds() : _audioHelper.GetSystemVolume();
|
||||||
_ = UpdateStateIfNeeded();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override async void DialDown(DialPayload payload)
|
public override async void DialDown(DialPayload payload)
|
||||||
@ -175,9 +174,6 @@ public class DialAction : EncoderBase
|
|||||||
|
|
||||||
private async Task UpdateStateIfNeeded()
|
private async Task UpdateStateIfNeeded()
|
||||||
{
|
{
|
||||||
try
|
|
||||||
{
|
|
||||||
|
|
||||||
if (_currentAudioSession != null)
|
if (_currentAudioSession != null)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -200,11 +196,6 @@ public class DialAction : EncoderBase
|
|||||||
_previousState = uiState;
|
_previousState = uiState;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex )
|
|
||||||
{
|
|
||||||
Logger.Instance.LogMessage(TracingLevel.ERROR, $"Failed to update screen\n {ex}");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
public override void ReceivedGlobalSettings(ReceivedGlobalSettingsPayload payload)
|
public override void ReceivedGlobalSettings(ReceivedGlobalSettingsPayload payload)
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
"Name": "Focused Application Volume",
|
"Name": "Focused Application Volume",
|
||||||
"Description": "Control the volume of the focused application",
|
"Description": "Control the volume of the focused application",
|
||||||
"URL": "https://github.com/dlprows/FocusVolumeControl",
|
"URL": "https://github.com/dlprows/FocusVolumeControl",
|
||||||
"Version": "1.1.0",
|
"Version": "1.0.1",
|
||||||
"CodePath": "FocusVolumeControl",
|
"CodePath": "FocusVolumeControl",
|
||||||
"Category": "Volume Control [dlprows]",
|
"Category": "Volume Control [dlprows]",
|
||||||
"Icon": "Images/pluginIcon",
|
"Icon": "Images/pluginIcon",
|
||||||
|
Loading…
Reference in New Issue
Block a user