Chromium Code Reviews| Index: sky/sdk/example/game/main.dart |
| diff --git a/sky/sdk/example/game/main.dart b/sky/sdk/example/game/main.dart |
| index f5e2de9fe94b47e71ad37e8bf0c40886563d51f1..eb74fac46701307d7418173e2247a3a438e381f3 100644 |
| --- a/sky/sdk/example/game/main.dart |
| +++ b/sky/sdk/example/game/main.dart |
| @@ -2,7 +2,9 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| +import 'package:sky/mojo/activity.dart' as activity; |
| import 'package:sky/mojo/asset_bundle.dart'; |
| +import 'package:sky/theme/colors.dart' as colors; |
| import 'package:sky/widgets/basic.dart'; |
| import 'package:sky/widgets/widget.dart'; |
| @@ -34,6 +36,8 @@ main() async { |
| _spriteSheet = new SpriteSheet(_loader['assets/sprites.png'], json); |
| _app = new GameDemoApp(); |
| + // TODO(viktork): This task bar color is the wrong purple. |
| + activity.updateTaskDescription('Asteroids', colors.Purple[500]); |
|
abarth-chromium
2015/07/10 20:24:54
Why not use a widget in the GameDemoApp?
|
| runApp(_app); |
| } |