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

Unified Diff: sky/framework/components/popup_menu.dart

Issue 1104233003: [Effen] fix some dart warnings (mostly unused imports) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 8 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 | « sky/framework/components/material.dart ('k') | sky/framework/components/popup_menu_item.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/components/popup_menu.dart
diff --git a/sky/framework/components/popup_menu.dart b/sky/framework/components/popup_menu.dart
index e91a4301f43e4df85d14fc627b2477a8ccb3b5f7..4375eefed9086f9dadeea89ee8c72f961d2c2aa2 100644
--- a/sky/framework/components/popup_menu.dart
+++ b/sky/framework/components/popup_menu.dart
@@ -6,10 +6,8 @@ import 'animated_component.dart';
import '../animation/animated_value.dart';
import '../fn.dart';
import '../theme/colors.dart';
-import '../theme/view-configuration.dart';
import 'dart:async';
import 'dart:math' as math;
-import 'dart:sky' as sky;
import 'material.dart';
import 'popup_menu_item.dart';
@@ -44,7 +42,7 @@ class PopupMenuController {
_state = MenuState.Hidden;
_closeState = null;
result.complete();
- return;
+ return result.future;
}
assert(_closeState != null);
return _closeState;
« no previous file with comments | « sky/framework/components/material.dart ('k') | sky/framework/components/popup_menu_item.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698