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 @@ -66,6 +66,7 @@ import com.lagradost.cloudstream3.ui.result.ResultFragment.updateUIEvent
6666import com.lagradost.cloudstream3.ui.search.SearchAdapter
6767import com.lagradost.cloudstream3.ui.search.SearchHelper
6868import com.lagradost.cloudstream3.utils.AppContextUtils.getNameFull
69+ import com.lagradost.cloudstream3.utils.AppContextUtils.getShortSeasonText
6970import com.lagradost.cloudstream3.utils.AppContextUtils.isCastApiAvailable
7071import com.lagradost.cloudstream3.utils.AppContextUtils.loadCache
7172import com.lagradost.cloudstream3.utils.AppContextUtils.openBrowser
@@ -617,11 +618,12 @@ open class ResultFragmentPhone : FullScreenPlayer() {
617618 resultResumeParent.isVisible = true
618619
619620 val setEpisodeText: (Button ) -> Unit = { button ->
620- button.text = context?.getNameFull(
621- resume.result.name,
622- resume.result.episode,
623- resume.result.season
624- )
621+ button.text = context?.let {
622+ " ${it.getString(R .string.resume)} ${it.getShortSeasonText(
623+ resume.result.episode,
624+ resume.result.season
625+ )} "
626+ }
625627 }
626628
627629 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