From 3bd42fb2c651a04da73345a6e0dfe2552135eefc Mon Sep 17 00:00:00 2001 From: nuclearfog Date: Tue, 21 Nov 2023 22:19:10 +0100 Subject: [PATCH] bug fix, dependency update --- app/build.gradle | 2 +- .../main/java/org/nuclearfog/twidda/ui/views/ZoomView.java | 6 ------ app/src/main/res/layout/page_image.xml | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 913d8f47..69032c97 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -61,7 +61,7 @@ dependencies { //noinspection GradleDependency implementation 'com.squareup.picasso:picasso:2.8' implementation 'com.github.QuadFlask:colorpicker:0.0.15' - implementation 'com.github.kyleduo:SwitchButton:2.0.3-SNAPSHOT' + implementation 'com.kyleduo.switchbutton:library:2.1.0' implementation 'com.github.UnifiedPush:android-connector:2.1.1' implementation 'com.google.android.material:material:1.9.0' implementation 'jp.wasabeef:picasso-transformations:2.4.0' diff --git a/app/src/main/java/org/nuclearfog/twidda/ui/views/ZoomView.java b/app/src/main/java/org/nuclearfog/twidda/ui/views/ZoomView.java index eeca48d2..33dfaef3 100644 --- a/app/src/main/java/org/nuclearfog/twidda/ui/views/ZoomView.java +++ b/app/src/main/java/org/nuclearfog/twidda/ui/views/ZoomView.java @@ -71,12 +71,6 @@ public class ZoomView extends AppCompatImageView { } - @Override - public boolean performClick() { - return super.performClick(); - } - - @Override public boolean onTouchEvent(MotionEvent event) { if (getScaleType() != ScaleType.MATRIX) diff --git a/app/src/main/res/layout/page_image.xml b/app/src/main/res/layout/page_image.xml index ef142484..b14728f0 100644 --- a/app/src/main/res/layout/page_image.xml +++ b/app/src/main/res/layout/page_image.xml @@ -15,7 +15,7 @@ app:layout_constraintTop_toTopOf="parent" app:layout_constraintEnd_toEndOf="parent" /> -