Disabling landscape rotation on full screen due to portrait videos.
This commit is contained in:
+4
-4
@@ -160,9 +160,9 @@ fun ZoomableContentView(
|
|||||||
nostrUriCallback = content.uri,
|
nostrUriCallback = content.uri,
|
||||||
onDialog = {
|
onDialog = {
|
||||||
dialogOpen = true
|
dialogOpen = true
|
||||||
if (!isFoldableOrLarge) {
|
// if (!isFoldableOrLarge) {
|
||||||
DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity)
|
// DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity)
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
accountViewModel = accountViewModel,
|
accountViewModel = accountViewModel,
|
||||||
)
|
)
|
||||||
@@ -200,7 +200,7 @@ fun ZoomableContentView(
|
|||||||
images,
|
images,
|
||||||
onDismiss = {
|
onDismiss = {
|
||||||
dialogOpen = false
|
dialogOpen = false
|
||||||
if (!isFoldableOrLarge) DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity)
|
// if (!isFoldableOrLarge) DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity)
|
||||||
},
|
},
|
||||||
accountViewModel,
|
accountViewModel,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user