mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-02-16 19:30:40 +01:00
shortening a comment
This commit is contained in:
parent
034497ba52
commit
c7eb5b7e5f
@ -416,8 +416,7 @@ class MainActivity : SimpleActivity(), PhotoProcessor.MediaSavedListener, Camera
|
|||||||
private fun initModeSwitcher() {
|
private fun initModeSwitcher() {
|
||||||
val gestureDetector = GestureDetectorCompat(this, object : GestureDetectorListener() {
|
val gestureDetector = GestureDetectorCompat(this, object : GestureDetectorListener() {
|
||||||
override fun onDown(e: MotionEvent): Boolean {
|
override fun onDown(e: MotionEvent): Boolean {
|
||||||
// we have to return true here so ACTION_UP
|
// we have to return true here so ACTION_UP (and onFling) can be dispatched
|
||||||
// (and onFling) can be dispatched
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user