| Index: sky/sdk/lib/widgets/scaffold.dart
|
| diff --git a/sky/sdk/lib/widgets/scaffold.dart b/sky/sdk/lib/widgets/scaffold.dart
|
| index e85aaa83a1e7b644d5663555318f1df4fd84cf86..3f8ab015fb916b643bc27af4247df32619b03fcd 100644
|
| --- a/sky/sdk/lib/widgets/scaffold.dart
|
| +++ b/sky/sdk/lib/widgets/scaffold.dart
|
| @@ -2,6 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +import 'dart:sky' as sky;
|
| +
|
| import '../rendering/box.dart';
|
| import '../rendering/object.dart';
|
| import '../theme/view_configuration.dart';
|
| @@ -102,7 +104,7 @@ class RenderScaffold extends RenderBox {
|
| }
|
| if (_slots[ScaffoldSlots.toolbar] != null) {
|
| RenderBox toolbar = _slots[ScaffoldSlots.toolbar];
|
| - double toolbarHeight = kToolBarHeight + kNotificationAreaHeight;
|
| + double toolbarHeight = kToolBarHeight + sky.view.paddingTop;
|
| toolbar.layout(new BoxConstraints.tight(new Size(size.width, toolbarHeight)));
|
| assert(toolbar.parentData is BoxParentData);
|
| toolbar.parentData.position = Point.origin;
|
|
|