mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 00:17:58 +01:00
updating gestureViews to the latest version
This commit is contained in:
parent
0f83c75d4b
commit
487984f9e4
2 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue