Skip to content

Commit

Permalink
πŸ› - Set the int value of color and icon as a string
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanddant committed Oct 9, 2024
1 parent 4fdff92 commit 1ea2cba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Commands/Lists/SetList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,13 @@ protected override void ExecuteCmdlet()


if (ParameterSpecified(nameof(Color))) {
list.Color = Color.ToString();
list.Color = ((int)Color).ToString();
updateRequired = true;
}

if(ParameterSpecified(nameof(Icon)))
{
list.Icon = Icon.ToString();
list.Icon = ((int)Icon).ToString();
updateRequired = true;
}

Expand Down

0 comments on commit 1ea2cba

Please sign in to comment.