mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-24 06:37:14 -04:00
chore: insert without remove field on FieldCache
This commit is contained in:
parent
ea654b602c
commit
f3c82f5c30
1 changed files with 0 additions and 1 deletions
|
@ -103,7 +103,6 @@ class GridFieldCache {
|
|||
final List<Field> fields = _fieldNotifier.fields;
|
||||
for (final indexField in insertedFields) {
|
||||
if (fields.length > indexField.index) {
|
||||
fields.removeAt(indexField.index);
|
||||
fields.insert(indexField.index, indexField.field_1);
|
||||
} else {
|
||||
fields.add(indexField.field_1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue