Skip to content

Commit

Permalink
Update example/lib/customs/pickers/directory_file_asset_picker.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 2277ec5 commit 45f2e8d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions example/lib/customs/pickers/directory_file_asset_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -701,10 +701,7 @@ class FileAssetPickerBuilder
int index,
List<File> currentAssets,
) {
int currentIndex = index;

currentIndex = index - prependSpecialItems.length;

final currentIndex = index - prependSpecialItems.length;
final File asset = currentAssets.elementAt(currentIndex);
final Widget builder = imageAndVideoItemBuilder(
context,
Expand Down

0 comments on commit 45f2e8d

Please sign in to comment.