Index: sky/examples/stocks/lib/stock_list.dart |
diff --git a/sky/examples/stocks/lib/stock_list.dart b/sky/examples/stocks/lib/stock_list.dart |
index 4ad488ac2d98297af16f654a9fde1c7c1b4f29f2..2e6e5bbf1d9db5e92f85d7b4edcb8dd200bc0f48 100644 |
--- a/sky/examples/stocks/lib/stock_list.dart |
+++ b/sky/examples/stocks/lib/stock_list.dart |
@@ -20,9 +20,9 @@ class Stocklist extends FixedHeightScrollable { |
List<UINode> buildItems(int start, int count) { |
return stocks |
- .skip(start) |
.where((stock) => query == null || stock.symbol.contains( |
new RegExp(query, caseSensitive: false))) |
+ .skip(start) |
.take(count) |
.map((stock) => new StockRow(stock: stock)) |
.toList(growable: false); |