From e3678a5f80dbd5a8bc09e1cab54b6ff949811cc5 Mon Sep 17 00:00:00 2001
From: tibbi <tibor@kaputa.sk>
Date: Mon, 21 Jan 2019 16:42:03 +0100
Subject: [PATCH] use our forked implementation of gestureViews

---
 app/build.gradle                             | 7 ++-----
 app/src/main/res/layout/pager_photo_item.xml | 2 +-
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/app/build.gradle b/app/build.gradle
index a8ccb23dc..a2c4cab1e 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -70,14 +70,11 @@ dependencies {
     implementation 'info.androidhive:imagefilters:1.0.7'
     implementation 'com.squareup.picasso:picasso:2.71828'
     implementation 'com.caverock:androidsvg-aar:1.3'
-    implementation 'com.alexvasilkov:gesture-views:2.5.2'
+    implementation 'com.github.tibbi:gestureviews:57844bb1d5'
+    implementation 'com.github.tibbi:subsampling-scale-image-view:bf097548ba'
     kapt 'com.github.bumptech.glide:compiler:4.8.0' // keep it here too, not just in Commons, else loading SVGs wont work
 
     kapt 'androidx.room:room-compiler:2.0.0'
     implementation 'androidx.room:room-runtime:2.0.0'
     annotationProcessor 'androidx.room:room-compiler:2.0.0'
-
-    //implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.10.0'
-    //implementation 'com.github.tibbi:subsampling-scale-image-view:v3.10.1-fork'
-    implementation 'com.github.tibbi:subsampling-scale-image-view:bf097548ba'
 }
diff --git a/app/src/main/res/layout/pager_photo_item.xml b/app/src/main/res/layout/pager_photo_item.xml
index eeaedb050..d1306ba57 100644
--- a/app/src/main/res/layout/pager_photo_item.xml
+++ b/app/src/main/res/layout/pager_photo_item.xml
@@ -6,7 +6,7 @@
     android:layout_width="match_parent"
     android:layout_height="match_parent">
 
-    <com.alexvasilkov.gestures.views.GestureImageView
+    <com.alexvasilkov.gestures.GestureImageView
         android:id="@+id/gestures_view"
         android:layout_width="match_parent"
         android:layout_height="match_parent"/>