diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/ZoomableContentView.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/ZoomableContentView.kt index 457d072b0..2911754e8 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/ZoomableContentView.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/components/ZoomableContentView.kt @@ -161,9 +161,9 @@ fun ZoomableContentView( nostrUriCallback = content.uri, onDialog = { dialogOpen = true - if (!isFoldableOrLarge && !isOrientationLocked) { - DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity) - } + // if (!isFoldableOrLarge && !isOrientationLocked) { + // DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity) + // } }, accountViewModel = accountViewModel, ) @@ -201,7 +201,7 @@ fun ZoomableContentView( images, onDismiss = { dialogOpen = false - if (!isFoldableOrLarge && !isOrientationLocked) DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity) + // if (!isFoldableOrLarge && !isOrientationLocked) DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity) }, accountViewModel, )