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