From be5cc1a27ef8747aef59b0fbe3396aaa94995aef Mon Sep 17 00:00:00 2001 From: Hixie Date: Tue, 9 Jun 2015 12:23:17 -0700 Subject: [PATCH] OneChildRenderObjectWrapper and Scaffold were ignoring the return value of syncChild(). This would cause them to forget what the most recent child they'd been given was, with disastrous effects later. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1173683003 --- examples/stocks2/lib/stock_app.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/stocks2/lib/stock_app.dart b/examples/stocks2/lib/stock_app.dart index 0b07d84f872..8dd1fda6b9c 100644 --- a/examples/stocks2/lib/stock_app.dart +++ b/examples/stocks2/lib/stock_app.dart @@ -158,7 +158,7 @@ class StocksApp extends App { return new ToolBar( left: new IconButton( icon: 'navigation/menu_white', - onGestureTap: _drawerController.toggle), + onGestureTap: (_) => _drawerController.toggle()), center: new Text('Stocks'), right: [ new IconButton(