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
This commit is contained in:
Hixie 2015-06-09 12:23:17 -07:00
parent ba6a9a2ba5
commit be5cc1a27e

View File

@ -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(