mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
fixed android tv trailer bug
This commit is contained in:
parent
6ff4f4c1ce
commit
b06f098447
1 changed files with 5 additions and 5 deletions
|
@ -195,7 +195,7 @@ class ResultFragmentTv : Fragment() {
|
|||
}
|
||||
})
|
||||
}
|
||||
this.animate().translationX(if (turnVisible) 0f else if(isRtl()) -100.0f else 100f).apply {
|
||||
this.animate().translationX(if (turnVisible) 0f else if (isRtl()) -100.0f else 100f).apply {
|
||||
duration = 200
|
||||
interpolator = DecelerateInterpolator()
|
||||
}
|
||||
|
@ -205,7 +205,7 @@ class ResultFragmentTv : Fragment() {
|
|||
binding?.apply {
|
||||
episodesShadow.fade(show)
|
||||
episodeHolderTv.fade(show)
|
||||
if(episodesShadow.isRtl()) {
|
||||
if (episodesShadow.isRtl()) {
|
||||
episodesShadow.scaleX = -1.0f
|
||||
episodesShadow.scaleY = -1.0f
|
||||
} else {
|
||||
|
@ -297,8 +297,8 @@ class ResultFragmentTv : Fragment() {
|
|||
resultSeasonSelection,
|
||||
resultRangeSelection,
|
||||
resultDubSelection,
|
||||
resultEpisodes,
|
||||
resultPlayTrailer,
|
||||
resultEpisodes
|
||||
)
|
||||
for (requestView in views) {
|
||||
if (!requestView.isShown) continue
|
||||
|
@ -349,7 +349,7 @@ class ResultFragmentTv : Fragment() {
|
|||
ArrayList(),
|
||||
resultRecommendationsList,
|
||||
) { callback ->
|
||||
if(callback.action == SEARCH_ACTION_FOCUSED)
|
||||
if (callback.action == SEARCH_ACTION_FOCUSED)
|
||||
toggleEpisodes(false)
|
||||
else
|
||||
SearchHelper.handleSearchClickCallback(callback)
|
||||
|
|
Loading…
Reference in a new issue