mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-08-04 07:09:53 +00:00
Add missing channel name setter
This commit is contained in:
parent
75cf1ffbdd
commit
d079a1e8e4
1 changed files with 1 additions and 0 deletions
|
@ -418,6 +418,7 @@ class ChannelFragment : MainFragment() {
|
||||||
|
|
||||||
_buttonSubscribe.setSubscribeChannel(channel);
|
_buttonSubscribe.setSubscribeChannel(channel);
|
||||||
_buttonSubscriptionSettings.visibility = if(_buttonSubscribe.isSubscribed) View.VISIBLE else View.GONE;
|
_buttonSubscriptionSettings.visibility = if(_buttonSubscribe.isSubscribed) View.VISIBLE else View.GONE;
|
||||||
|
_textChannel.text = channel.name;
|
||||||
_textChannelSub.text = if(channel.subscribers > 0) "${channel.subscribers.toHumanNumber()} " + context.getString(R.string.subscribers).lowercase() else "";
|
_textChannelSub.text = if(channel.subscribers > 0) "${channel.subscribers.toHumanNumber()} " + context.getString(R.string.subscribers).lowercase() else "";
|
||||||
|
|
||||||
//TODO: Find a better way to access the adapter fragments..
|
//TODO: Find a better way to access the adapter fragments..
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue