Set the maximum number of images in PostGalleryActivity to 20.

This commit is contained in:
Alex Ning 2021-07-17 21:07:16 +08:00
parent 170cdb5aaf
commit 0b5898c7d9

View File

@ -101,7 +101,7 @@ public class RedditGallerySubmissionRecyclerViewAdapter extends RecyclerView.Ada
@Override
public int getItemCount() {
return redditGalleryImageInfoList == null ? 1 : (redditGalleryImageInfoList.size() >= 9 ? 9 : redditGalleryImageInfoList.size() + 1);
return redditGalleryImageInfoList == null ? 1 : (redditGalleryImageInfoList.size() >= 20 ? 20 : redditGalleryImageInfoList.size() + 1);
}
@Override