Show pages if it's available
This commit is contained in:
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));
|
category.setBackgroundColor(EhUtils.getCategoryColor(gi.category));
|
||||||
}
|
}
|
||||||
holder.posted.setText(gi.posted);
|
holder.posted.setText(gi.posted);
|
||||||
if (gi.pages == 0 || !Settings.getShowGalleryPages()) {
|
if (gi.pages == 0) {
|
||||||
holder.pages.setText(null);
|
holder.pages.setText(null);
|
||||||
holder.pages.setVisibility(View.GONE);
|
holder.pages.setVisibility(View.GONE);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user