We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18f1cf2 commit 770b8b1Copy full SHA for 770b8b1
1 file changed
app/src/main/java/org/schabi/newpipe/fragments/detail/VideoDetailFragment.java
@@ -1905,7 +1905,7 @@ public void onScreenRotationButtonClicked() {
1905
// Just turn on fullscreen mode in landscape orientation
1906
// or portrait & unlocked global orientation
1907
final boolean isLandscape = DeviceUtils.isLandscape(requireContext());
1908
- if (DeviceUtils.isTablet(activity)
+ if (DeviceUtils.isTv(activity) || DeviceUtils.isTablet(activity)
1909
&& (!globalScreenOrientationLocked(activity) || isLandscape)) {
1910
player.UIs().get(MainPlayerUi.class).ifPresent(MainPlayerUi::toggleFullscreen);
1911
return;
0 commit comments