Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

minor change

ashilkn8492cbff579d
diff --git a/lib/states/all_sections_examples_state.dart b/lib/states/all_sections_examples_state.dart
index cc3f4757e6..4643cba819 100644
--- a/lib/states/all_sections_examples_state.dart
+++ b/lib/states/all_sections_examples_state.dart
@@ -86,7 +86,9 @@ class InheritedAllSectionsExamples extends InheritedWidget {
@override
bool updateShouldNotify(covariant InheritedAllSectionsExamples oldWidget) {
- return oldWidget.allSectionsExamplesFuture.hashCode !=
- allSectionsExamplesFuture.hashCode;
+ return !identical(
+ oldWidget.allSectionsExamplesFuture,
+ allSectionsExamplesFuture,
+ );
}
}