File tree Expand file tree Collapse file tree
java/com/lagradost/cloudstream3/ui/result Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ import com.lagradost.cloudstream3.ui.result.ResultFragment.updateUIEvent
6767import com.lagradost.cloudstream3.ui.search.SearchAdapter
6868import com.lagradost.cloudstream3.ui.search.SearchHelper
6969import com.lagradost.cloudstream3.utils.AppContextUtils.getNameFull
70+ import com.lagradost.cloudstream3.utils.AppContextUtils.getShortSeasonText
7071import com.lagradost.cloudstream3.utils.AppContextUtils.isCastApiAvailable
7172import com.lagradost.cloudstream3.utils.AppContextUtils.loadCache
7273import com.lagradost.cloudstream3.utils.AppContextUtils.openBrowser
@@ -629,11 +630,12 @@ open class ResultFragmentPhone : FullScreenPlayer() {
629630 resultResumeParent.isVisible = true
630631
631632 val setEpisodeText: (Button ) -> Unit = { button ->
632- button.text = context?.getNameFull(
633- resume.result.name,
634- resume.result.episode,
635- resume.result.season
636- )
633+ button.text = context?.let {
634+ " ${it.getString(R .string.resume)} ${it.getShortSeasonText(
635+ resume.result.episode,
636+ resume.result.season
637+ )} "
638+ }
637639 }
638640
639641 resume.progress?.let { progress ->
Original file line number Diff line number Diff line change 1+ <layer-list xmlns : android =" http://schemas.android.com/apk/res/android" >
2+ <item android : id =" @android:id/background" >
3+ <shape android : shape =" rectangle" >
4+ <solid android : color =" @color/transparent" />
5+ <corners android : radius =" @dimen/rounded_button_radius" />
6+ </shape >
7+ </item >
8+ <item android : id =" @android:id/progress" >
9+ <clip >
10+ <shape android : shape =" rectangle" >
11+ <solid android : color =" ?attr/colorPrimary" />
12+ <corners android : radius =" @dimen/rounded_button_radius" />
13+ </shape >
14+ </clip >
15+ </item >
16+ </layer-list >
You can’t perform that action at this time.
0 commit comments