Skip to content

Commit

Permalink
[TV] Limit Homepage Header Description to 3 lines & 6 Tags (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
KingLucius committed Feb 19, 2024
1 parent ca918b1 commit b5fb099
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ class HomeParentItemAdapterPreview(
homePreviewText.text = item.name
populateChips(
homePreviewTags,
item.tags ?: emptyList(),
item.tags?.take(6) ?: emptyList(),
R.style.ChipFilledSemiTransparent
)

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/fragment_home_head_tv.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="5"
android:maxLines="3"
android:paddingBottom="5dp"
android:textSize="15sp"
tools:text="very nice tv series" />
Expand Down

0 comments on commit b5fb099

Please sign in to comment.