| 
														
															@@ -1,8 +1,5 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 package eu.kanade.tachiyomi.ui.reader.viewer.webtoon 
														 | 
														
														 | 
														
															 package eu.kanade.tachiyomi.ui.reader.viewer.webtoon 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import android.graphics.Typeface 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import android.text.Spanned 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-import android.text.style.StyleSpan 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import android.view.Gravity 
														 | 
														
														 | 
														
															 import android.view.Gravity 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import android.view.ViewGroup.LayoutParams.MATCH_PARENT 
														 | 
														
														 | 
														
															 import android.view.ViewGroup.LayoutParams.MATCH_PARENT 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import android.view.ViewGroup.LayoutParams.WRAP_CONTENT 
														 | 
														
														 | 
														
															 import android.view.ViewGroup.LayoutParams.WRAP_CONTENT 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -11,6 +8,7 @@ import android.widget.ProgressBar 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import android.widget.TextView 
														 | 
														
														 | 
														
															 import android.widget.TextView 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import androidx.appcompat.widget.AppCompatButton 
														 | 
														
														 | 
														
															 import androidx.appcompat.widget.AppCompatButton 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import androidx.appcompat.widget.AppCompatTextView 
														 | 
														
														 | 
														
															 import androidx.appcompat.widget.AppCompatTextView 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import androidx.core.text.bold 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import androidx.core.text.buildSpannedString 
														 | 
														
														 | 
														
															 import androidx.core.text.buildSpannedString 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import androidx.core.view.isNotEmpty 
														 | 
														
														 | 
														
															 import androidx.core.view.isNotEmpty 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import androidx.core.view.isVisible 
														 | 
														
														 | 
														
															 import androidx.core.view.isVisible 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -94,12 +92,9 @@ class WebtoonTransitionHolder( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         textView.text = if (nextChapter != null) { 
														 | 
														
														 | 
														
															         textView.text = if (nextChapter != null) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             buildSpannedString { 
														 | 
														
														 | 
														
															             buildSpannedString { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                append(context.getString(R.string.transition_finished)) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                setSpan(StyleSpan(Typeface.BOLD), 0, length, Spanned.SPAN_INCLUSIVE_EXCLUSIVE) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                bold { append(context.getString(R.string.transition_finished)) } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 append("\n${transition.from.chapter.name}\n\n") 
														 | 
														
														 | 
														
															                 append("\n${transition.from.chapter.name}\n\n") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                val currSize = length 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                append(context.getString(R.string.transition_next)) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                setSpan(StyleSpan(Typeface.BOLD), currSize, length, Spanned.SPAN_INCLUSIVE_EXCLUSIVE) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                bold { append(context.getString(R.string.transition_next)) } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 append("\n${nextChapter.chapter.name}\n\n") 
														 | 
														
														 | 
														
															                 append("\n${nextChapter.chapter.name}\n\n") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } else { 
														 | 
														
														 | 
														
															         } else { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -119,12 +114,9 @@ class WebtoonTransitionHolder( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         textView.text = if (prevChapter != null) { 
														 | 
														
														 | 
														
															         textView.text = if (prevChapter != null) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             buildSpannedString { 
														 | 
														
														 | 
														
															             buildSpannedString { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                append(context.getString(R.string.transition_current)) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                setSpan(StyleSpan(Typeface.BOLD), 0, length, Spanned.SPAN_INCLUSIVE_EXCLUSIVE) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                bold { append(context.getString(R.string.transition_current)) } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 append("\n${transition.from.chapter.name}\n\n") 
														 | 
														
														 | 
														
															                 append("\n${transition.from.chapter.name}\n\n") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                val currSize = length 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                append(context.getString(R.string.transition_previous)) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-                setSpan(StyleSpan(Typeface.BOLD), currSize, length, Spanned.SPAN_INCLUSIVE_EXCLUSIVE) 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+                bold { append(context.getString(R.string.transition_previous)) } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															                 append("\n${prevChapter.chapter.name}\n\n") 
														 | 
														
														 | 
														
															                 append("\n${prevChapter.chapter.name}\n\n") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															             } 
														 | 
														
														 | 
														
															             } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } else { 
														 | 
														
														 | 
														
															         } else { 
														 |