diff --git a/app/src/main/java/com/github/libretube/extensions/Intent.kt b/app/src/main/java/com/github/libretube/extensions/Intent.kt index dfc8f4813..abf7b9ac6 100644 --- a/app/src/main/java/com/github/libretube/extensions/Intent.kt +++ b/app/src/main/java/com/github/libretube/extensions/Intent.kt @@ -1,7 +1,6 @@ package com.github.libretube.extensions import android.content.Intent -import android.os.Build import android.os.Parcelable import androidx.core.content.IntentCompat import java.io.Serializable diff --git a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt index 7f83c804b..74c29965e 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt @@ -885,7 +885,9 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions { playerViewsInfo.text = getString(R.string.normal_views, views, localizeDate(streams)) textLike.text = streams.likes.formatShort() + textDislike.isVisible = streams.dislikes >= 0 textDislike.text = streams.dislikes.formatShort() + ImageHelper.loadImage(streams.uploaderAvatar, binding.playerChannelImage) playerChannelName.text = streams.uploader diff --git a/app/src/main/java/com/github/libretube/ui/fragments/SubscriptionsFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/SubscriptionsFragment.kt index 4c01a9006..462d9ca52 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/SubscriptionsFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/SubscriptionsFragment.kt @@ -39,7 +39,6 @@ import com.google.android.material.chip.Chip import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch import kotlinx.coroutines.runBlocking -import kotlinx.coroutines.withContext class SubscriptionsFragment : Fragment() { private var _binding: FragmentSubscriptionsBinding? = null diff --git a/app/src/main/res/layout/fragment_player.xml b/app/src/main/res/layout/fragment_player.xml index ce02638df..c8bccd206 100644 --- a/app/src/main/res/layout/fragment_player.xml +++ b/app/src/main/res/layout/fragment_player.xml @@ -93,6 +93,7 @@ android:drawablePadding="5dp" app:drawableStartCompat="@drawable/ic_dislike" app:drawableStartDimen="12dp" + android:visibility="gone" tools:text="1.3K" />