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