diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-07-19 13:13:14 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-07-19 13:13:14 +0000 |
commit | 043663f909748c2cb873db9e3056432100f19903 (patch) | |
tree | fd9f28744f2786b2a3b20f588795e05294a86236 /app/src/main/java | |
parent | 5a06e5bf88c33c14562cb6cbf0e6fc3cb36b40d0 (diff) | |
download | infinity-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.java | 2 |
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(); |