mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
Top menu only on TV
This commit is contained in:
parent
0d0e92d5ee
commit
bac815969a
2 changed files with 7 additions and 7 deletions
|
@ -1100,7 +1100,7 @@ class GeneratorPlayer : FullScreenPlayer() {
|
||||||
|
|
||||||
when {
|
when {
|
||||||
isLayout(PHONE) ->
|
isLayout(PHONE) ->
|
||||||
playerBinding?.playerGoForward?.isVisible =
|
playerBinding?.playerSkipEpisode?.isVisible =
|
||||||
!isOpVisible && viewModel.hasNextEpisode() == true
|
!isOpVisible && viewModel.hasNextEpisode() == true
|
||||||
|
|
||||||
else ->
|
else ->
|
||||||
|
|
|
@ -214,7 +214,8 @@
|
||||||
android:layout_marginStart="40dp"
|
android:layout_marginStart="40dp"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
android:id="@+id/player_restart_root"
|
android:id="@+id/player_restart_root"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical"
|
||||||
|
android:visibility="gone">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/player_restart"
|
android:id="@+id/player_restart"
|
||||||
|
@ -236,8 +237,7 @@
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/player_restart_text"
|
android:id="@+id/player_restart_text"
|
||||||
style="@style/ResultMarqueeButtonText"
|
style="@style/ResultMarqueeButtonText"
|
||||||
android:text="@string/restart"
|
android:text="@string/restart" />
|
||||||
android:visibility="gone"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
@ -247,7 +247,8 @@
|
||||||
android:layout_marginStart="80dp"
|
android:layout_marginStart="80dp"
|
||||||
android:layout_marginEnd="10dp"
|
android:layout_marginEnd="10dp"
|
||||||
android:id="@+id/player_go_forward_root"
|
android:id="@+id/player_go_forward_root"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical"
|
||||||
|
android:visibility="gone">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/player_go_forward"
|
android:id="@+id/player_go_forward"
|
||||||
|
@ -269,8 +270,7 @@
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/player_go_forward_text"
|
android:id="@+id/player_go_forward_text"
|
||||||
style="@style/ResultMarqueeButtonText"
|
style="@style/ResultMarqueeButtonText"
|
||||||
android:text="@string/next_episode"
|
android:text="@string/next_episode" />
|
||||||
android:visibility="gone"/>
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue