mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
Fixed context crash.
This commit is contained in:
parent
9e9c8a0bec
commit
4f50c51356
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class ChannelAboutFragment : Fragment, IChannelTabFragment {
|
|||
};
|
||||
_textName?.text = channel.name;
|
||||
|
||||
val metadata = if(channel.subscribers > 0) "${channel.subscribers.toHumanNumber()} " + getString(R.string.subscribers).lowercase() else "";
|
||||
val metadata = if(channel.subscribers > 0) "${channel.subscribers.toHumanNumber()} " + (context?.getString(R.string.subscribers)?.lowercase() ?: "") else "";
|
||||
_textMetadata?.text = metadata;
|
||||
_lastChannel = channel;
|
||||
setLinks(channel.links, channel.name);
|
||||
|
|
Loading…
Add table
Reference in a new issue