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…
Reference in New Issue