From 043663f909748c2cb873db9e3056432100f19903 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sun, 19 Jul 2020 21:13:14 +0800 Subject: Decrease distanceThreshold for Slidr in ViewImageOrGifActivity. Update proguard rules. --- .../infinityforreddit/Activity/ViewImageOrGifActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewImageOrGifActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewImageOrGifActivity.java index ad5e4fcc..5cea5c59 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewImageOrGifActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewImageOrGifActivity.java @@ -131,7 +131,7 @@ public class ViewImageOrGifActivity extends AppCompatActivity implements SetAsWa actionBar.setHomeAsUpIndicator(upArrow); actionBar.setBackgroundDrawable(new ColorDrawable(getResources().getColor(R.color.transparentActionBarAndExoPlayerControllerColor))); - Slidr.attach(this, new SlidrConfig.Builder().position(SlidrPosition.VERTICAL).build()); + Slidr.attach(this, new SlidrConfig.Builder().position(SlidrPosition.VERTICAL).distanceThreshold(0.125f).build()); mediaDownloader = new MediaDownloaderImpl(); -- cgit v1.2.3