Disabling landscape rotation on full screen due to portrait videos.

This commit is contained in:
Vitor Pamplona
2024-08-19 11:58:50 -04:00
parent 9262b90096
commit 989cbb35d3
@@ -160,9 +160,9 @@ fun ZoomableContentView(
nostrUriCallback = content.uri,
onDialog = {
dialogOpen = true
if (!isFoldableOrLarge) {
DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity)
}
// if (!isFoldableOrLarge) {
// DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity)
// }
},
accountViewModel = accountViewModel,
)
@@ -200,7 +200,7 @@ fun ZoomableContentView(
images,
onDismiss = {
dialogOpen = false
if (!isFoldableOrLarge) DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity)
// if (!isFoldableOrLarge) DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity)
},
accountViewModel,
)