mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 08:01:20 +02:00
Revert "Use useSeriesForPrimary"
This reverts commit f5f75f9e9e8f3316c689b85d3b8781c932a7c0ff.
This commit is contained in:
parent
a9f2e684f1
commit
037e846599
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ data class BaseItem(
|
||||||
api.imageApi.getItemImageUrl(dto.id, ImageType.PRIMARY)
|
api.imageApi.getItemImageUrl(dto.id, ImageType.PRIMARY)
|
||||||
}
|
}
|
||||||
val logoImageUrl =
|
val logoImageUrl =
|
||||||
if (useSeriesForPrimary && (dto.type == BaseItemKind.EPISODE || dto.type == BaseItemKind.SEASON)) {
|
if (dto.type == BaseItemKind.EPISODE || dto.type == BaseItemKind.SEASON) {
|
||||||
val seriesId = dto.seriesId
|
val seriesId = dto.seriesId
|
||||||
if (seriesId != null) {
|
if (seriesId != null) {
|
||||||
api.imageApi.getItemImageUrl(seriesId, ImageType.LOGO)
|
api.imageApi.getItemImageUrl(seriesId, ImageType.LOGO)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue