Skip to content

Commit 1732cfe

Browse files
yujuneAlexV525
andcommitted
Update lib/src/delegates/asset_picker_builder_delegate.dart
Co-authored-by: Alex Li <[email protected]>
1 parent 84fee2a commit 1732cfe

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/src/delegates/asset_picker_builder_delegate.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,9 +1439,7 @@ class DefaultAssetPickerBuilderDelegate
14391439
}
14401440
}
14411441

1442-
int currentIndex = index;
1443-
1444-
currentIndex = index - prepandSpecialItemModels.length;
1442+
final currentIndex = index - prepandSpecialItemModels.length;
14451443

14461444
if (currentPathEntity == null) {
14471445
return const SizedBox.shrink();

0 commit comments

Comments
 (0)