From d8e168ed6113a0bfd6f5690f4b069b5aacfbeb97 Mon Sep 17 00:00:00 2001 From: tarsin Date: Thu, 11 May 2023 15:22:34 +0800 Subject: [PATCH] And never show uploader in FavScene That field is missing --- .../com/hippo/ehviewer/ui/widget/GalleryInfoCard.kt | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/app/src/main/java/com/hippo/ehviewer/ui/widget/GalleryInfoCard.kt b/app/src/main/java/com/hippo/ehviewer/ui/widget/GalleryInfoCard.kt index 57aaa3a7a..f1660f3ac 100644 --- a/app/src/main/java/com/hippo/ehviewer/ui/widget/GalleryInfoCard.kt +++ b/app/src/main/java/com/hippo/ehviewer/ui/widget/GalleryInfoCard.kt @@ -63,11 +63,13 @@ fun ListInfoCard( ProvideTextStyle(MaterialTheme.typography.labelLarge) { Row(verticalAlignment = Alignment.Bottom) { Column { - Text( - text = info.uploader ?: "(DISOWNED)", - maxLines = 1, - overflow = TextOverflow.Ellipsis, - ) + if (!isInFavScene) { + Text( + text = info.uploader ?: "(DISOWNED)", + maxLines = 1, + overflow = TextOverflow.Ellipsis, + ) + } GalleryListCardRating(rating = info.rating) val categoryColor = EhUtils.getCategoryColor(info.category) val categoryText = EhUtils.getCategory(info.category).uppercase()