Revert "Show pages if it's available"

This reverts commit 08d1ef8
This commit is contained in:
seven332 committed 2019-03-19 23:21:05 +08:00
1 parent 00289d106d
commit 88baeeb335
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) {
if (gi.pages == 0 || !Settings.getShowGalleryPages()) {
holder.pages.setText(null);
holder.pages.setVisibility(View.GONE);
} else {