mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 07:50:31 +05:30
ktlint
This commit is contained in:
parent
50499a0947
commit
c20c8868ca
@ -19,9 +19,8 @@ import com.github.libretube.adapters.ChannelAdapter
|
|||||||
import com.github.libretube.obj.Subscribe
|
import com.github.libretube.obj.Subscribe
|
||||||
import com.google.android.material.button.MaterialButton
|
import com.google.android.material.button.MaterialButton
|
||||||
import com.squareup.picasso.Picasso
|
import com.squareup.picasso.Picasso
|
||||||
import retrofit2.HttpException
|
|
||||||
import java.io.IOException
|
import java.io.IOException
|
||||||
|
import retrofit2.HttpException
|
||||||
|
|
||||||
class ChannelFragment : Fragment() {
|
class ChannelFragment : Fragment() {
|
||||||
|
|
||||||
@ -198,8 +197,9 @@ class ChannelFragment : Fragment() {
|
|||||||
val channelName = view.findViewById<TextView>(R.id.channel_name)
|
val channelName = view.findViewById<TextView>(R.id.channel_name)
|
||||||
channelName.text = response.name
|
channelName.text = response.name
|
||||||
if (response.verified) {
|
if (response.verified) {
|
||||||
channelName.setCompoundDrawablesWithIntrinsicBounds(
|
channelName.setCompoundDrawablesWithIntrinsicBounds(
|
||||||
0, 0, R.drawable.ic_verified, 0);
|
0, 0, R.drawable.ic_verified, 0
|
||||||
|
)
|
||||||
}
|
}
|
||||||
view.findViewById<TextView>(R.id.channel_subs).text = resources.getString(
|
view.findViewById<TextView>(R.id.channel_subs).text = resources.getString(
|
||||||
R.string.subscribers,
|
R.string.subscribers,
|
||||||
|
@ -14,7 +14,6 @@ import android.text.Html
|
|||||||
import android.text.TextUtils
|
import android.text.TextUtils
|
||||||
import android.util.Log
|
import android.util.Log
|
||||||
import android.view.View
|
import android.view.View
|
||||||
import android.widget.FrameLayout
|
|
||||||
import android.widget.Toast
|
import android.widget.Toast
|
||||||
import androidx.activity.result.ActivityResultLauncher
|
import androidx.activity.result.ActivityResultLauncher
|
||||||
import androidx.activity.result.contract.ActivityResultContracts
|
import androidx.activity.result.contract.ActivityResultContracts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user