@"" -> string.Empty

This commit is contained in:
DrabWeb 2017-05-20 13:52:51 -03:00
parent 49eb096b03
commit 87ace2d7ec
2 changed files with 3 additions and 3 deletions

View File

@ -177,7 +177,7 @@ namespace osu.Game.Overlays.Direct
private string pluralize(string prefix, int value)
{
return $@"{value} {prefix}" + (value == 1 ? @"" : @"s");
return $@"{value} {prefix}" + (value == 1 ? string.Empty : @"s");
}
private class DirectSearchTextBox : SearchTextBox

View File

@ -111,10 +111,10 @@ namespace osu.Game.Overlays
},
};
header.Tabs.Current.ValueChanged += tab => { if (tab != DirectTab.Search) filter.Search.Current.Value = @""; };
header.Tabs.Current.ValueChanged += tab => { if (tab != DirectTab.Search) filter.Search.Current.Value = string.Empty; };
filter.Search.Exit = Hide;
filter.Search.Current.ValueChanged += text => { if (text != @"") header.Tabs.Current.Value = DirectTab.Search; };
filter.Search.Current.ValueChanged += text => { if (text != string.Empty) header.Tabs.Current.Value = DirectTab.Search; };
filter.DisplayStyle.ValueChanged += recreatePanels;
}