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

Unified Diff: packages/charted/lib/charts/src/chart_config_impl.dart

Issue 2213693002: Updated charted DEP to 0.4.X (Closed) Base URL: https://github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 4 years, 4 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: packages/charted/lib/charts/src/chart_config_impl.dart
diff --git a/packages/charted/lib/charts/src/chart_config_impl.dart b/packages/charted/lib/charts/src/chart_config_impl.dart
index 640d23fff2202b3d9a410ef8685ad10b049eb8f6..80bedafbbbb449be42490989a246170387f35a0f 100644
--- a/packages/charted/lib/charts/src/chart_config_impl.dart
+++ b/packages/charted/lib/charts/src/chart_config_impl.dart
@@ -57,7 +57,8 @@ class DefaultChartConfigImpl extends ChangeNotifier implements ChartConfig {
values.forEach((item) {
if (item is Observable) {
_disposer.add(
- item.changes
+ (item as Observable)
+ .changes
.listen((_) => notifyChange(const ChartConfigChangeRecord())),
item);
}
« no previous file with comments | « packages/charted/lib/charts/src/chart_axis_impl.dart ('k') | packages/charted/lib/charts/src/chart_data_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698