From 6d9bffe9e7c70373ec5c3055ac478d7053465397 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Tue, 8 Oct 2024 15:00:25 -0400 Subject: [PATCH] Disabling #1122 until we solve those little issues. --- .../amethyst/ui/components/ZoomableContentView.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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, )