mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-06-27 09:02:59 +02:00
make the preview at orientation change listener nullable
This commit is contained in:
@ -502,7 +502,7 @@ class MainActivity : SimpleActivity(), PreviewListener, PhotoProcessor.MediaSave
|
||||
else -> 0
|
||||
}
|
||||
|
||||
mPreview!!.deviceOrientationChanged()
|
||||
mPreview?.deviceOrientationChanged()
|
||||
animateViews(degrees)
|
||||
mLastHandledOrientation = currOrient
|
||||
}
|
||||
|
Reference in New Issue
Block a user