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

Unified Diff: sky/sdk/example/fitness/lib/home.dart

Issue 1235443002: Support for icon theming (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix analyzer warning 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/example/fitness/lib/settings.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/example/fitness/lib/home.dart
diff --git a/sky/sdk/example/fitness/lib/home.dart b/sky/sdk/example/fitness/lib/home.dart
index c7be4d4d2be10cb4573feb9370bc85b9526227cb..4ed0bf7ac83fa7b9ae3219ac564502dc2bea4a98 100644
--- a/sky/sdk/example/fitness/lib/home.dart
+++ b/sky/sdk/example/fitness/lib/home.dart
@@ -116,7 +116,7 @@ class HomeFragment extends StatefulComponent {
Widget buildToolBar() {
return new ToolBar(
left: new IconButton(
- icon: 'navigation/menu_white',
+ icon: "navigation/menu",
onPressed: _handleOpenDrawer),
center: new Text(fitnessModeTitle)
);
@@ -180,13 +180,13 @@ class HomeFragment extends StatefulComponent {
switch (_fitnessMode) {
case FitnessMode.measure:
return new FloatingActionButton(
- child: new Icon(type: 'content/add_white', size: 24),
+ child: new Icon(type: 'content/add', size: 24),
onPressed: _handleMeasurementAdded
);
case FitnessMode.run:
return new FloatingActionButton(
child: new Icon(
- type: _isRunning ? 'av/stop_white' : 'maps/directions_run_white',
+ type: _isRunning ? 'av/stop' : 'maps/directions_run',
size: 24
),
onPressed: _isRunning ? _handleRunStopped : _handleRunStarted
« no previous file with comments | « no previous file | sky/sdk/example/fitness/lib/settings.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698