Skip to content

Instantly share code, notes, and snippets.

@abarth
Created September 10, 2015 22:10
Show Gist options
  • Save abarth/35909bb9157e6e87b670 to your computer and use it in GitHub Desktop.
Save abarth/35909bb9157e6e87b670 to your computer and use it in GitHub Desktop.
diff --git a/sky/packages/sky/lib/src/widgets/framework.dart b/sky/packages/sky/lib/src/widgets/framework.dart
index 858bdfe..f7e0d29 100644
--- a/sky/packages/sky/lib/src/widgets/framework.dart
+++ b/sky/packages/sky/lib/src/widgets/framework.dart
@@ -522,8 +522,7 @@ abstract class Widget {
bool _canSync(Widget a, Widget b) {
return a.runtimeType == b.runtimeType &&
- a.key == b.key &&
- (a._generation == 0 || b._generation == 0);
+ a.key == b.key;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment