[TV] Limit Homepage Header Description to 3 lines & 6 Tags (#938)

This commit is contained in:
KingLucius 2024-02-19 17:44:50 +02:00 committed by GitHub
parent ca918b1581
commit b5fb0997c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -317,7 +317,7 @@ class HomeParentItemAdapterPreview(
homePreviewText.text = item.name homePreviewText.text = item.name
populateChips( populateChips(
homePreviewTags, homePreviewTags,
item.tags ?: emptyList(), item.tags?.take(6) ?: emptyList(),
R.style.ChipFilledSemiTransparent R.style.ChipFilledSemiTransparent
) )

View file

@ -137,7 +137,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ellipsize="end" android:ellipsize="end"
android:maxLines="5" android:maxLines="3"
android:paddingBottom="5dp" android:paddingBottom="5dp"
android:textSize="15sp" android:textSize="15sp"
tools:text="very nice tv series" /> tools:text="very nice tv series" />