aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-07-19 13:13:14 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-07-19 13:13:14 +0000
commit043663f909748c2cb873db9e3056432100f19903 (patch)
treefd9f28744f2786b2a3b20f588795e05294a86236 /app/src/main/java
parent5a06e5bf88c33c14562cb6cbf0e6fc3cb36b40d0 (diff)
downloadinfinity-for-reddit-043663f909748c2cb873db9e3056432100f19903.tar
infinity-for-reddit-043663f909748c2cb873db9e3056432100f19903.tar.gz
infinity-for-reddit-043663f909748c2cb873db9e3056432100f19903.tar.bz2
infinity-for-reddit-043663f909748c2cb873db9e3056432100f19903.tar.lz
infinity-for-reddit-043663f909748c2cb873db9e3056432100f19903.tar.xz
infinity-for-reddit-043663f909748c2cb873db9e3056432100f19903.tar.zst
infinity-for-reddit-043663f909748c2cb873db9e3056432100f19903.zip
Decrease distanceThreshold for Slidr in ViewImageOrGifActivity. Update proguard rules.
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/Activity/ViewImageOrGifActivity.java2
1 files changed, 1 insertions, 1 deletions
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();