Fix ZoomableImageDialog. isFoldableOrLarge already takes into account the orientation.
This commit is contained in:
+1
-1
@@ -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