diff options
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/MediaViewerActivity.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/MediaViewerActivity.java b/src/main/java/de/pixart/messenger/ui/MediaViewerActivity.java index 95f2610d2..d8082b7e9 100644 --- a/src/main/java/de/pixart/messenger/ui/MediaViewerActivity.java +++ b/src/main/java/de/pixart/messenger/ui/MediaViewerActivity.java @@ -246,6 +246,7 @@ public class MediaViewerActivity extends XmppActivity implements AudioManager.On binding.messageGifView.setOnTouchListener((view, motionEvent) -> gestureDetector.onTouchEvent(motionEvent)); } else { binding.messageImageView.setVisibility(View.VISIBLE); + binding.messageImageView.setOrientation(rotation); binding.messageImageView.setImage(ImageSource.uri(FileUri)); binding.messageImageView.setOnTouchListener((view, motionEvent) -> gestureDetector.onTouchEvent(motionEvent)); } |