mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2024-11-21 18:42:35 +01:00
Merge pull request #11112 from aryn-ydv/extend-playlist-description
Make playlist description clickable to show more / less content
This commit is contained in:
commit
c795214abb
@ -352,6 +352,7 @@ public class PlaylistFragment extends BaseListInfoFragment<StreamInfoItem, Playl
|
|||||||
});
|
});
|
||||||
ellipsizer.setContent(description);
|
ellipsizer.setContent(description);
|
||||||
headerBinding.playlistDescriptionReadMore.setOnClickListener(v -> ellipsizer.toggle());
|
headerBinding.playlistDescriptionReadMore.setOnClickListener(v -> ellipsizer.toggle());
|
||||||
|
headerBinding.playlistDescription.setOnClickListener(v -> ellipsizer.toggle());
|
||||||
} else {
|
} else {
|
||||||
headerBinding.playlistDescription.setVisibility(View.GONE);
|
headerBinding.playlistDescription.setVisibility(View.GONE);
|
||||||
headerBinding.playlistDescriptionReadMore.setVisibility(View.GONE);
|
headerBinding.playlistDescriptionReadMore.setVisibility(View.GONE);
|
||||||
|
Loading…
Reference in New Issue
Block a user