mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-07-01 18:46:03 +02:00
[Samples] Entry code cleanup
This commit is contained in:
parent
09c0ee598e
commit
5f76dca449
|
@ -151,12 +151,7 @@ namespace Samples
|
|||
var o = model.GetValue(iter, 0);
|
||||
var searchString = o as string;
|
||||
if (!string.IsNullOrEmpty(searchString))
|
||||
{
|
||||
if (searchString.StartsWith(entry.Text, System.StringComparison.InvariantCultureIgnoreCase))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
return searchString.StartsWith(entry.Text, System.StringComparison.InvariantCultureIgnoreCase);
|
||||
|
||||
return true;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user