Skip to content

Commit

Permalink
Fix missing nullable parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
davide-pi committed Sep 9, 2024
1 parent a69f275 commit 9be9f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Spectre.Console/Prompts/List/ListPromptConstants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ internal sealed class ListPromptConstants
public const string MoreChoicesMarkup = "[grey](Move up and down to reveal more choices)[/]";
public const string SearchPlaceholderMarkup = "[grey](Type to search)[/]";

public static string GetSelectedCheckbox(bool isGroup, SelectionMode mode, Style style = null)
public static string GetSelectedCheckbox(bool isGroup, SelectionMode mode, Style? style = null)
{
if (style != null)
{
Expand Down

0 comments on commit 9be9f85

Please sign in to comment.