mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 16:30:31 +05:30
Fix
This commit is contained in:
parent
d575320ed3
commit
be83f3bc12
@ -195,7 +195,8 @@ class ChannelFragment : Fragment() {
|
||||
val channelVerified = view.findViewById<ImageView>(R.id.channel_verified)
|
||||
if (response.verified) channelVerified.visibility = View.VISIBLE
|
||||
view.findViewById<TextView>(R.id.channel_subs).text=resources.getString(R.string.subscribers, response.subscriberCount.formatShort())
|
||||
view.findViewById<TextView>(R.id.channel_description).text=response.description?.trim()
|
||||
val channelDescription = view.findViewById<TextView>(R.id.channel_description)
|
||||
if (response.description?.trim() == "") channelDescription.visibility = View.GONE else channelDescription.text = response.description?.trim()
|
||||
val bannerImage = view.findViewById<ImageView>(R.id.channel_banner)
|
||||
val channelImage = view.findViewById<ImageView>(R.id.channel_image)
|
||||
Picasso.get().load(response.bannerUrl).into(bannerImage)
|
||||
|
@ -87,6 +87,7 @@
|
||||
android:background="?android:attr/selectableItemBackground"
|
||||
android:text="@string/subscribe"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="11dp"
|
||||
android:drawableLeft="@drawable/ic_bell"
|
||||
android:drawableTint="?android:attr/textColorPrimary"
|
||||
/>
|
||||
|
@ -33,7 +33,7 @@
|
||||
/>
|
||||
</Transition>
|
||||
|
||||
<ConstraintSet>
|
||||
<ConstraintSet android:id="@+id/start">
|
||||
<Constraint
|
||||
android:id="@+id/player"
|
||||
android:layout_width="match_parent"
|
||||
|
Loading…
x
Reference in New Issue
Block a user