diff --git a/app/phone/src/main/java/dev/jdtech/jellyfin/fragments/CollectionFragment.kt b/app/phone/src/main/java/dev/jdtech/jellyfin/fragments/CollectionFragment.kt index 69b57fed..c8bc3bda 100644 --- a/app/phone/src/main/java/dev/jdtech/jellyfin/fragments/CollectionFragment.kt +++ b/app/phone/src/main/java/dev/jdtech/jellyfin/fragments/CollectionFragment.kt @@ -24,6 +24,7 @@ import dev.jdtech.jellyfin.utils.checkIfLoginRequired import dev.jdtech.jellyfin.viewmodels.CollectionViewModel import kotlinx.coroutines.launch import timber.log.Timber +import dev.jdtech.jellyfin.core.R as CoreR @AndroidEntryPoint class CollectionFragment : Fragment() { @@ -40,6 +41,8 @@ class CollectionFragment : Fragment() { ): View { binding = FragmentFavoriteBinding.inflate(inflater, container, false) + binding.noFavoritesText.text = getString(CoreR.string.collection_no_media) + binding.favoritesRecyclerView.adapter = FavoritesListAdapter { item -> navigateToMediaItem(item) } diff --git a/core/src/main/res/values/strings.xml b/core/src/main/res/values/strings.xml index 1a410c8f..5fba35ff 100644 --- a/core/src/main/res/values/strings.xml +++ b/core/src/main/res/values/strings.xml @@ -54,6 +54,7 @@ Latest %1$s Libraries Series poster + This collection does not contain any media You have no favorites You have nothing downloaded Search