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

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

Issue 1235693002: Make back button on stocks app search bar the accent color (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase 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
« no previous file with comments | « no previous file | sky/sdk/lib/widgets/icon_button.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/stocks/lib/stock_home.dart
diff --git a/sky/sdk/example/stocks/lib/stock_home.dart b/sky/sdk/example/stocks/lib/stock_home.dart
index 0868fd1f68e7947b457f2ea55067aa3c2a53cc84..e57aeda63ed645258d89b547319126a882e801ba 100644
--- a/sky/sdk/example/stocks/lib/stock_home.dart
+++ b/sky/sdk/example/stocks/lib/stock_home.dart
@@ -252,11 +252,14 @@ class StockHome extends AnimatedComponent {
return new ToolBar(
left: new IconButton(
icon: "navigation/arrow_back",
- onPressed: _handleSearchEnd),
+ color: Theme.of(this).accentColor,
+ onPressed: _handleSearchEnd
+ ),
center: new Input(
focused: true,
placeholder: 'Search stocks',
- onChanged: _handleSearchQueryChanged),
+ onChanged: _handleSearchQueryChanged
+ ),
backgroundColor: Theme.of(this).canvasColor
);
}
« no previous file with comments | « no previous file | sky/sdk/lib/widgets/icon_button.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698