mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 03:15:36 +08:00
CA1820: use IsNullOrEmpty.
This commit is contained in:
parent
3c39fde7ff
commit
09257b0c6d
@ -48,7 +48,6 @@
|
|||||||
<Rule Id="CA1307" Action="None" />
|
<Rule Id="CA1307" Action="None" />
|
||||||
<Rule Id="CA1308" Action="None" />
|
<Rule Id="CA1308" Action="None" />
|
||||||
<Rule Id="CA1816" Action="None" />
|
<Rule Id="CA1816" Action="None" />
|
||||||
<Rule Id="CA1820" Action="None" />
|
|
||||||
<Rule Id="CA1826" Action="None" />
|
<Rule Id="CA1826" Action="None" />
|
||||||
<Rule Id="CA2000" Action="None" />
|
<Rule Id="CA2000" Action="None" />
|
||||||
<Rule Id="CA2008" Action="None" />
|
<Rule Id="CA2008" Action="None" />
|
||||||
|
@ -116,7 +116,7 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
Filter.Search.Current.ValueChanged += text =>
|
Filter.Search.Current.ValueChanged += text =>
|
||||||
{
|
{
|
||||||
if (text.NewValue != string.Empty)
|
if (!string.IsNullOrEmpty(text.NewValue))
|
||||||
{
|
{
|
||||||
Header.Tabs.Current.Value = DirectTab.Search;
|
Header.Tabs.Current.Value = DirectTab.Search;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user