Only show the sources name if there are multiple sources
This commit is contained in:
parent
0a6672a768
commit
eedfa44ec8
@ -942,7 +942,7 @@ class MangaInfoScreenModel(
|
|||||||
val activeDownload = downloadManager.queue.find { chapter.id == it.chapter.id }
|
val activeDownload = downloadManager.queue.find { chapter.id == it.chapter.id }
|
||||||
// SY -->
|
// SY -->
|
||||||
val manga = mergedData?.manga?.get(chapter.mangaId) ?: manga
|
val manga = mergedData?.manga?.get(chapter.mangaId) ?: manga
|
||||||
val source = mergedData?.sources?.find { manga.source == it.id }
|
val source = mergedData?.sources?.find { manga.source == it.id }?.takeIf { mergedData.sources.size > 2 }
|
||||||
// SY <--
|
// SY <--
|
||||||
val downloaded = downloadManager.isChapterDownloaded(
|
val downloaded = downloadManager.isChapterDownloaded(
|
||||||
// SY -->
|
// SY -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user