diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-02-21 12:59:30 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-02-21 12:59:30 +0000 |
commit | 2dfc2a86b001c2cda0193dd1847cf6b1b298ed0d (patch) | |
tree | c7d969b9149fe7d4d1ac2d7317e8d85903078470 /app | |
parent | a5b24b5500d1e4a84853f549de5ad15a48e0f3aa (diff) | |
download | infinity-for-reddit-2dfc2a86b001c2cda0193dd1847cf6b1b298ed0d.tar infinity-for-reddit-2dfc2a86b001c2cda0193dd1847cf6b1b298ed0d.tar.gz infinity-for-reddit-2dfc2a86b001c2cda0193dd1847cf6b1b298ed0d.tar.bz2 infinity-for-reddit-2dfc2a86b001c2cda0193dd1847cf6b1b298ed0d.tar.lz infinity-for-reddit-2dfc2a86b001c2cda0193dd1847cf6b1b298ed0d.tar.xz infinity-for-reddit-2dfc2a86b001c2cda0193dd1847cf6b1b298ed0d.tar.zst infinity-for-reddit-2dfc2a86b001c2cda0193dd1847cf6b1b298ed0d.zip |
Fix blurred images become thumbnails in the compact layout.
Diffstat (limited to '')
2 files changed, 1 insertions, 4 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/LinkResolverActivity.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/LinkResolverActivity.java index dc4356f6..d5c9fff1 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/LinkResolverActivity.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Activity/LinkResolverActivity.java @@ -8,7 +8,6 @@ import android.content.pm.ResolveInfo; import android.net.Uri; import android.os.Build; import android.os.Bundle; -import android.util.Log; import android.widget.Toast; import androidx.appcompat.app.AppCompatActivity; @@ -132,8 +131,6 @@ public class LinkResolverActivity extends AppCompatActivity { } } else if (path.matches(USER_PATTERN_1)) { Intent intent = new Intent(this, ViewUserDetailActivity.class); - Log.i("afasfasfsda", "s " + path); - Log.i("afasfasfsda", "s " + path.substring(6)); intent.putExtra(ViewUserDetailActivity.EXTRA_USER_NAME_KEY, path.substring(6)); intent.putExtra(ViewUserDetailActivity.EXTRA_MESSAGE_FULLNAME, messageFullname); intent.putExtra(ViewUserDetailActivity.EXTRA_NEW_ACCOUNT_NAME, newAccountName); diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java index 10e662e1..c1c3aca0 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java @@ -1323,7 +1323,7 @@ public class PostRecyclerViewAdapter extends PagedListAdapter<Post, RecyclerView }); if ((post.isNSFW() && mNeedBlurNSFW) || post.isSpoiler() && mNeedBlurSpoiler) { imageRequestBuilder - .transform(new BlurTransformation(50, 10)) + .transform(new BlurTransformation(50, 2)) .into(((PostCompactViewHolder) holder).imageView); } else { imageRequestBuilder.into(((PostCompactViewHolder) holder).imageView); |