Index: pkg/observe/lib/src/list_diff.dart |
diff --git a/pkg/observe/lib/src/list_diff.dart b/pkg/observe/lib/src/list_diff.dart |
index 6acef8032772beea539fd53b45472993cb5d09df..67a9ff1fd1be692b05bb0bbc8d1bf42c4980344e 100644 |
--- a/pkg/observe/lib/src/list_diff.dart |
+++ b/pkg/observe/lib/src/list_diff.dart |
@@ -381,7 +381,7 @@ List<ListChangeRecord> _createInitialSplices(List<Object> list, |
*/ |
List<ListChangeRecord> projectListSplices(List list, |
List<ListChangeRecord> records) { |
- if (records.length == 1) return records; |
+ if (records.length <= 1) return records; |
var splices = []; |
for (var splice in _createInitialSplices(list, records)) { |