From 1e5a4beb8e84445866c0ea4e5909c40446748b54 Mon Sep 17 00:00:00 2001 From: Tibor Kaputa Date: Sat, 26 Nov 2022 18:59:33 +0100 Subject: [PATCH] removing a redundant comment --- .../com/simplemobiletools/camera/activities/MainActivity.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/camera/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/camera/activities/MainActivity.kt index 3e28fe0e..3d4664ab 100644 --- a/app/src/main/kotlin/com/simplemobiletools/camera/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/camera/activities/MainActivity.kt @@ -374,7 +374,6 @@ class MainActivity : SimpleActivity(), PhotoProcessor.MediaSavedListener, Camera } 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) { return true }