Skip to content

Commit 56a0922

Browse files
committed
Remove not needed viability control
This is done by the parent
1 parent c4bfc11 commit 56a0922

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

app/src/main/java/org/schabi/newpipe/player/ui/MainPlayerUi.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,6 @@ protected void setupElementsVisibility() {
290290
binding.topControls.setFocusable(true);
291291

292292
binding.metadataView.setVisibility(isFullscreen ? View.VISIBLE : View.GONE);
293-
binding.titleTextView.setVisibility(isFullscreen ? View.VISIBLE : View.GONE);
294-
binding.channelTextView.setVisibility(isFullscreen ? View.VISIBLE : View.GONE);
295293
}
296294

297295
@Override
@@ -936,8 +934,6 @@ public void toggleFullscreen() {
936934
fragmentListener.onFullscreenStateChanged(isFullscreen);
937935

938936
binding.metadataView.setVisibility(isFullscreen ? View.VISIBLE : View.GONE);
939-
binding.titleTextView.setVisibility(isFullscreen ? View.VISIBLE : View.GONE);
940-
binding.channelTextView.setVisibility(isFullscreen ? View.VISIBLE : View.GONE);
941937
binding.playerCloseButton.setVisibility(isFullscreen ? View.GONE : View.VISIBLE);
942938
setupScreenRotationButton();
943939
}

0 commit comments

Comments
 (0)