Skip to content

Commit

Permalink
Remove incorrect -1 logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
yujunetee committed Oct 16, 2024
1 parent c2b9861 commit 7adee71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/delegates/asset_picker_builder_delegate.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@ class DefaultAssetPickerBuilderDelegate

int semanticIndex(int index) {
if (prependSpecialItems.isNotEmpty) {
return index - prependSpecialItems.length + 1;
return index - prependSpecialItems.length;
}

return index;
Expand Down

0 comments on commit 7adee71

Please sign in to comment.