Skip to content

Commit

Permalink
Update lib/src/delegates/asset_picker_builder_delegate.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Li <[email protected]>
  • Loading branch information
yujune and AlexV525 authored Oct 16, 2024
1 parent 36eb37c commit ad1835f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/src/delegates/asset_picker_builder_delegate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1577,9 +1577,7 @@ class DefaultAssetPickerBuilderDelegate
int placeholderCount = 0,
}) {
int index = assets.indexWhere((AssetEntity e) => e.id == id);

index += prependSpecialItems.length;

index += placeholderCount;
return index;
}
Expand Down

0 comments on commit ad1835f

Please sign in to comment.