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 <github@alexv525.com>
  • Loading branch information
yujune and AlexV525 authored Oct 16, 2024
1 parent 97a1eba commit a120386
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/src/delegates/asset_picker_builder_delegate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1439,9 +1439,7 @@ class DefaultAssetPickerBuilderDelegate
}
}

int currentIndex = index;

currentIndex = index - prepandSpecialItemModels.length;
final currentIndex = index - prepandSpecialItemModels.length;

if (currentPathEntity == null) {
return const SizedBox.shrink();
Expand Down

0 comments on commit a120386

Please sign in to comment.