mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-26 21:36:24 +02:00
Fix ZoomableImageDialog. isFoldableOrLarge already takes into account the orientation.
This commit is contained in:
@@ -230,7 +230,7 @@ fun ZoomableContentView(
|
||||
images,
|
||||
onDismiss = {
|
||||
dialogOpen = false
|
||||
if (isLandscapeMode) DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity)
|
||||
if (!isFoldableOrLarge) DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity)
|
||||
},
|
||||
accountViewModel,
|
||||
)
|
||||
|
Reference in New Issue
Block a user