diff --git a/app/src/main/kotlin/com/simplemobiletools/camera/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/camera/activities/MainActivity.kt index 37d2f9c3..b711ff2b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/camera/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/camera/activities/MainActivity.kt @@ -502,7 +502,7 @@ class MainActivity : SimpleActivity(), PreviewListener, PhotoProcessor.MediaSave else -> 0 } - mPreview!!.deviceOrientationChanged() + mPreview?.deviceOrientationChanged() animateViews(degrees) mLastHandledOrientation = currOrient }