mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
lint
This commit is contained in:
parent
aa9f9852d9
commit
9912b1f4dc
@ -38,7 +38,6 @@ class SubscriptionChannelAdapter(private val subscriptions: MutableList<com.gith
|
|||||||
subscriptionSubscribe.setOnClickListener {
|
subscriptionSubscribe.setOnClickListener {
|
||||||
val channelId = subscription.url!!.toID()
|
val channelId = subscription.url!!.toID()
|
||||||
if (subscribed) {
|
if (subscribed) {
|
||||||
|
|
||||||
SubscriptionHelper.handleUnsubscribe(root.context, channelId, subscription.name ?: "") {
|
SubscriptionHelper.handleUnsubscribe(root.context, channelId, subscription.name ?: "") {
|
||||||
subscriptionSubscribe.text = root.context.getString(R.string.subscribe)
|
subscriptionSubscribe.text = root.context.getString(R.string.subscribe)
|
||||||
subscribed = false
|
subscribed = false
|
||||||
|
Loading…
Reference in New Issue
Block a user