mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-01-20 15:30:28 +01:00
PowerControl: Do not show Colors if not available
This commit is contained in:
parent
72a4334ccf
commit
44cdaef37c
|
|
@ -12,7 +12,7 @@ namespace PowerControl.Options
|
|||
Options = Enum.GetNames<DCE.Mode>(),
|
||||
CurrentValue = delegate ()
|
||||
{
|
||||
return DCE.Current.ToString();
|
||||
return DCE.Current?.ToString();
|
||||
},
|
||||
ApplyValue = (selected) =>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue