Skip to content

Commit

Permalink
fix: indexOutOfBoundsException when removing last two images
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit9625 committed Jan 13, 2025
1 parent 78666cc commit 549ca38
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,7 @@ public void onPreviousButtonClicked(final int index) {
@Override
public void onThumbnailDeleted(final int position) {
presenter.deletePictureAtIndex(position);
thumbnailsAdapter.notifyItemRemoved(position);
}

/**
Expand Down

0 comments on commit 549ca38

Please sign in to comment.