mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 17:13:23 +02:00
Enabled anti aliasing for circular avatars on Android 13 and later
This commit is contained in:
@@ -248,7 +248,7 @@ class ImageHelper {
|
||||
Canvas canvas = new Canvas(round);
|
||||
|
||||
Paint paint = new Paint();
|
||||
paint.setAntiAlias(false);
|
||||
paint.setAntiAlias(Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU); // August 15, 2022
|
||||
canvas.drawARGB(0, 0, 0, 0);
|
||||
paint.setColor(Color.GRAY);
|
||||
if (radius == null)
|
||||
|
||||
Reference in New Issue
Block a user