mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-02-09 16:08:41 +01:00
removing a redundant comment
This commit is contained in:
parent
fd82e35215
commit
1e5a4beb8e
@ -374,7 +374,6 @@ class MainActivity : SimpleActivity(), PhotoProcessor.MediaSavedListener, Camera
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onFling(event1: MotionEvent?, event2: MotionEvent?, velocityX: Float, velocityY: Float): Boolean {
|
override fun onFling(event1: MotionEvent?, event2: MotionEvent?, velocityX: Float, velocityY: Float): Boolean {
|
||||||
// these can be null even if the docs say they cannot, getting event1.x in itself can cause crashes
|
|
||||||
if (event1 == null || event2 == null) {
|
if (event1 == null || event2 == null) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user