From cdc5de3f1be7f75c1b85d019f45156a979774edc Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 14 Mar 2021 16:18:52 -0400 Subject: [PATCH] Flip order of previous chapter reader transition text (closes #4608) --- .../tachiyomi/ui/reader/viewer/ReaderTransitionView.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/ReaderTransitionView.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/ReaderTransitionView.kt index 5b3090c3a..2cb040e3f 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/ReaderTransitionView.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/viewer/ReaderTransitionView.kt @@ -41,13 +41,13 @@ class ReaderTransitionView @JvmOverloads constructor(context: Context, attrs: At if (hasPrevChapter) { binding.upperText.textAlignment = TEXT_ALIGNMENT_TEXT_START binding.upperText.text = buildSpannedString { - bold { append(context.getString(R.string.transition_current)) } - append("\n${transition.from.chapter.name}") - } - binding.lowerText.text = buildSpannedString { bold { append(context.getString(R.string.transition_previous)) } append("\n${prevChapter!!.chapter.name}") } + binding.lowerText.text = buildSpannedString { + bold { append(context.getString(R.string.transition_current)) } + append("\n${transition.from.chapter.name}") + } } else { binding.upperText.textAlignment = TEXT_ALIGNMENT_CENTER binding.upperText.text = context.getString(R.string.transition_no_previous)