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

Unified Diff: sky/examples/stocks-fn/stockarrow.dart

Issue 1003553002: Update Button to be made of Material (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | sky/examples/stocks-fn/stockrow.dart » ('j') | sky/framework/fn.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/examples/stocks-fn/stockarrow.dart
diff --git a/sky/examples/stocks-fn/stockarrow.dart b/sky/examples/stocks-fn/stockarrow.dart
index 82e52815d2ea57b1d7763f6a0a54933d5c15e9cb..63cebf5502f2e4cd7bb95868459b8d86e2239ace 100644
--- a/sky/examples/stocks-fn/stockarrow.dart
+++ b/sky/examples/stocks-fn/stockarrow.dart
@@ -74,11 +74,11 @@ class StockArrow extends Component {
return new Container(
inlineStyle: 'border-color: $border',
- style: _style,
+ styles: [_style],
children: [
new Container(
inlineStyle: 'border-$type-color: $border',
- style: up ? _upStyle : _downStyle
+ styles: [up ? _upStyle : _downStyle]
)
]
);
« no previous file with comments | « no previous file | sky/examples/stocks-fn/stockrow.dart » ('j') | sky/framework/fn.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698