Show pages if it's available

This commit is contained in:
seven332 committed 2019-03-19 23:04:34 +08:00
1 parent 388d507257
commit 08d1ef87d4
1 file changed
+1 -1
@@ -198,7 +198,7 @@ abstract class GalleryAdapter extends RecyclerView.Adapter<GalleryHolder> {
category.setBackgroundColor(EhUtils.getCategoryColor(gi.category));
}
holder.posted.setText(gi.posted);
if (gi.pages == 0 || !Settings.getShowGalleryPages()) {
if (gi.pages == 0) {
holder.pages.setText(null);
holder.pages.setVisibility(View.GONE);
} else {