diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadHolder.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadHolder.kt index 9668a68ea..aa3e7b14b 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadHolder.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/download/DownloadHolder.kt @@ -39,6 +39,9 @@ class DownloadHolder(private val view: View, val adapter: DownloadAdapter) : // Update the manga title binding.mangaFullTitle.text = download.manga.title + // Update the manga source + binding.mangaSource.text = download.source.name + // Update the progress bar and the number of downloaded pages val pages = download.pages if (pages == null) { diff --git a/app/src/main/res/layout/download_item.xml b/app/src/main/res/layout/download_item.xml index c256a314d..25cc991ff 100644 --- a/app/src/main/res/layout/download_item.xml +++ b/app/src/main/res/layout/download_item.xml @@ -37,12 +37,13 @@ android:id="@+id/chapter_title" android:layout_width="0dp" android:layout_height="wrap_content" + android:layout_marginEnd="8dp" android:layout_marginTop="4dp" android:layout_toEndOf="@id/reorder" android:ellipsize="end" android:maxLines="1" android:textAppearance="@style/TextAppearance.Regular.Caption" - app:layout_constraintEnd_toStartOf="@+id/menu" + app:layout_constraintEnd_toStartOf="@+id/manga_source" app:layout_constraintStart_toStartOf="@+id/manga_full_title" app:layout_constraintTop_toBottomOf="@+id/manga_full_title" tools:text="Chapter Title" /> @@ -69,6 +70,18 @@ app:layout_constraintTop_toTopOf="@+id/manga_full_title" tools:text="(0/10)" /> + +