Skip to content

Commit

Permalink
Call correct controller for get RGB preset CLI command (#1493)
Browse files Browse the repository at this point in the history
  • Loading branch information
electricalastro authored Nov 16, 2024
1 parent 6cffac0 commit 21c0e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LenovoLegionToolkit.WPF/CLI/IpcServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ private async Task SetSpectrumBrightnessAsync(string value)

private async Task<string> GetRGBPresetAsync()
{
if (!await spectrumKeyboardBacklightController.IsSupportedAsync().ConfigureAwait(false))
if (!await rgbKeyboardBacklightController.IsSupportedAsync().ConfigureAwait(false))
throw new InvalidOperationException("RGB is not supported");

var state = await rgbKeyboardBacklightController.GetStateAsync().ConfigureAwait(false);
Expand Down

0 comments on commit 21c0e8c

Please sign in to comment.