mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-10 12:47:26 +01:00
Fix blurred images become thumbnails in the compact layout.
This commit is contained in:
parent
a5b24b5500
commit
2dfc2a86b0
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user