From 487984f9e4f5cb0929ff93d3375a99d64f4763e0 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 22 Jan 2019 12:20:39 +0100 Subject: [PATCH] updating gestureViews to the latest version --- app/build.gradle | 2 +- .../simplemobiletools/gallery/pro/fragments/PhotoFragment.kt | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 8363a8b5d..d5a148219 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -74,7 +74,7 @@ dependencies { implementation 'info.androidhive:imagefilters:1.0.7' implementation 'com.squareup.picasso:picasso:2.71828' implementation 'com.caverock:androidsvg-aar:1.3' - implementation 'com.github.tibbi:gestureviews:57844bb1d5' + implementation 'com.github.tibbi:gestureviews:bbad4ebfe6' implementation 'com.github.tibbi:subsampling-scale-image-view:183cbcf8e5' kapt 'com.github.bumptech.glide:compiler:4.8.0' // keep it here too, not just in Commons, else loading SVGs wont work diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/PhotoFragment.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/PhotoFragment.kt index 504839195..fc492bfbf 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/PhotoFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/fragments/PhotoFragment.kt @@ -106,8 +106,6 @@ class PhotoFragment : ViewPagerFragment() { if (context.config.allowDownGesture) { gestures_view.controller.addOnStateChangeListener(object : GestureController.OnStateChangeListener { - override fun onStateReset(oldState: State, newState: State) {} - override fun onStateChanged(state: State) { mCurrentGestureViewZoom = state.zoom }