Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(883)

Unified Diff: sky/sdk/example/stocks/lib/main.dart

Issue 1209423008: Make the TaskDescription background color match the ToolBar on Android (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Updated per review Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/sdk/example/stocks/lib/main.dart
diff --git a/sky/sdk/example/stocks/lib/main.dart b/sky/sdk/example/stocks/lib/main.dart
index 2120913d3710226a130d5374bccad3fb7316ee7a..d9bed3f3555bd56103f0f294eadcaaf688582577 100644
--- a/sky/sdk/example/stocks/lib/main.dart
+++ b/sky/sdk/example/stocks/lib/main.dart
@@ -9,6 +9,7 @@ import 'package:sky/widgets/default_text_style.dart';
import 'package:sky/widgets/navigator.dart';
import 'package:sky/widgets/theme.dart';
import 'package:sky/widgets/widget.dart';
+import 'package:sky/widgets/task_description.dart';
import 'stock_data.dart';
import 'stock_home.dart';
@@ -21,7 +22,7 @@ class StocksApp extends App {
StocksApp() {
_navigationState = new NavigationState([
new Route(
- name: '/',
+ name: '/',
builder: (navigator, route) => new StockHome(navigator, _stocks, optimismSetting, modeUpdater)
),
new Route(
@@ -87,7 +88,10 @@ class StocksApp extends App {
data: theme,
child: new DefaultTextStyle(
style: typography.error, // if you see this, you've forgotten to correctly configure the text style!
- child: new Navigator(_navigationState)
+ child: new TaskDescription(
+ label: 'Stocks',
+ child: new Navigator(_navigationState)
+ )
)
);
}

Powered by Google App Engine
This is Rietveld 408576698