Remove yet another redundant guard

This commit is contained in:
Bartłomiej Dach 2023-06-18 14:28:26 +02:00
parent b9156b1df3
commit 28f929dc4d
No known key found for this signature in database

View File

@ -70,13 +70,7 @@ namespace osu.Game.Overlays.Mods
public string SearchTerm public string SearchTerm
{ {
get => SearchTextBox.Current.Value; get => SearchTextBox.Current.Value;
set set => SearchTextBox.Current.Value = value;
{
if (SearchTextBox.Current.Value == value)
return;
SearchTextBox.Current.Value = value;
}
} }
public ShearedSearchTextBox SearchTextBox { get; private set; } = null!; public ShearedSearchTextBox SearchTextBox { get; private set; } = null!;