1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:42:57 +08:00

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
{
get => SearchTextBox.Current.Value;
set
{
if (SearchTextBox.Current.Value == value)
return;
SearchTextBox.Current.Value = value;
}
set => SearchTextBox.Current.Value = value;
}
public ShearedSearchTextBox SearchTextBox { get; private set; } = null!;