mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 16:00:31 +05:30
Hide playlist description text view if no desc available
This commit is contained in:
parent
f1b7b2f0a7
commit
8df7cac06d
@ -149,6 +149,8 @@ class PlaylistFragment : Fragment() {
|
||||
|
||||
binding.playlistInfo.text = getChannelAndVideoString(response, response.videos)
|
||||
binding.playlistDescription.text = response.description
|
||||
// hide playlist description text view if not provided
|
||||
binding.playlistDescription.isGone = response.description.orEmpty().isBlank()
|
||||
|
||||
binding.playlistDescription.let { textView ->
|
||||
textView.setOnClickListener {
|
||||
|
Loading…
x
Reference in New Issue
Block a user