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

Unified Diff: sky/examples/stocks2/lib/stock_app.dart

Issue 1184823006: Settings menu item in stock2 doesn't work (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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/examples/stocks2/lib/stock_app.dart
diff --git a/sky/examples/stocks2/lib/stock_app.dart b/sky/examples/stocks2/lib/stock_app.dart
index 1c450b02682fb75f735bc53d954cc653f201783e..6686ec778b11886dcae9c5c9d1cdaf32e4443f65 100644
--- a/sky/examples/stocks2/lib/stock_app.dart
+++ b/sky/examples/stocks2/lib/stock_app.dart
@@ -11,9 +11,6 @@ import 'stock_home.dart';
import 'stock_settings.dart';
class StocksApp extends App {
-
- StocksApp({ RenderView renderViewOverride }) : super(renderViewOverride: renderViewOverride);
-
Widget build() {
return new Navigator(
routes: [
@@ -32,7 +29,7 @@ class StocksApp extends App {
void main() {
print("starting stocks app!");
- App app = new StocksApp();
+ runApp(new StocksApp());
WidgetAppView.appView.onFrame = () {
// uncomment this for debugging:
// WidgetAppView.appView.debugDumpRenderTree();

Powered by Google App Engine
This is Rietveld 408576698