Skip to content

Commit

Permalink
fix(episode/chapter list): Show separator when scanlator exists (aniy…
Browse files Browse the repository at this point in the history
…omiorg#1339)

Co-authored-by: jmir1 <[email protected]>
  • Loading branch information
Diegopyl1209 and jmir1 authored Jan 21, 2024
1 parent 70efdd8 commit b9837ec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ fun AnimeEpisodeListItem(
maxLines = 1,
overflow = TextOverflow.Ellipsis,
)
if (watchProgress != null || scanlator != null) DotSeparatorText()
}
if (watchProgress != null) {
DotSeparatorText()
Text(
text = watchProgress,
maxLines = 1,
Expand All @@ -200,6 +200,7 @@ fun AnimeEpisodeListItem(
if (scanlator != null) DotSeparatorText()
}
if (scanlator != null) {
DotSeparatorText()
Text(
text = scanlator,
maxLines = 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,9 @@ fun MangaChapterListItem(
maxLines = 1,
overflow = TextOverflow.Ellipsis,
)
if (readProgress != null || scanlator != null) DotSeparatorText()
}
if (readProgress != null) {
DotSeparatorText()
Text(
text = readProgress,
maxLines = 1,
Expand All @@ -197,6 +197,7 @@ fun MangaChapterListItem(
)
}
if (scanlator != null) {
DotSeparatorText()
Text(
text = scanlator,
maxLines = 1,
Expand Down

0 comments on commit b9837ec

Please sign in to comment.