mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2024-09-29 16:30:49 +00:00
Fix ZoomableImageDialog. isFoldableOrLarge already takes into account the orientation.
This commit is contained in:
parent
26a12f2dbe
commit
9613afb7ea
@ -230,7 +230,7 @@ fun ZoomableContentView(
|
||||
images,
|
||||
onDismiss = {
|
||||
dialogOpen = false
|
||||
if (isLandscapeMode) DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity)
|
||||
if (!isFoldableOrLarge) DeviceUtils.changeDeviceOrientation(isLandscapeMode, activity)
|
||||
},
|
||||
accountViewModel,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user