Skip to content

Commit

Permalink
Replace with string.Empty
Browse files Browse the repository at this point in the history
  • Loading branch information
IvenBach committed Jul 20, 2019
1 parent 5b98d30 commit 8d5ecc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rubberduck.Core/UI/Controls/SearchBox.xaml.cs
Expand Up @@ -54,12 +54,12 @@ public string Hint
}
}

public ICommand ClearSearchCommand => new DelegateCommand(LogManager.GetCurrentClassLogger(), (arg) => Text = "");
public ICommand ClearSearchCommand => new DelegateCommand(LogManager.GetCurrentClassLogger(), (arg) => Text = string.Empty);

public SearchBox()
{
// design instance!
Text = "";
Text = string.Empty;
Hint = "Search";
Width = 300;
Height = 25;
Expand Down

0 comments on commit 8d5ecc9

Please sign in to comment.