Index: pkg/intl/lib/intl_browser.dart |
diff --git a/pkg/intl/lib/intl_browser.dart b/pkg/intl/lib/intl_browser.dart |
index 76e8d5064633c0ff47131f4cd9ebcaa827513acb..995b2c17464f4b9ccdf37d2c9230dd455b81b0dc 100644 |
--- a/pkg/intl/lib/intl_browser.dart |
+++ b/pkg/intl/lib/intl_browser.dart |
@@ -27,5 +27,5 @@ import "intl.dart"; |
*/ |
Future<String> findSystemLocale() { |
Intl.systemLocale = Intl.canonicalizedLocale(window.navigator.language); |
- return new Future.immediate(Intl.systemLocale); |
+ return new Future.value(Intl.systemLocale); |
} |