mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Prevent crash
This commit is contained in:
@@ -172,7 +172,7 @@ class ImageHelper {
|
||||
}
|
||||
|
||||
static Bitmap makeCircular(Bitmap bitmap, Integer radius) {
|
||||
if (bitmap == null)
|
||||
if (bitmap == null || bitmap.isRecycled())
|
||||
return null;
|
||||
|
||||
int w = bitmap.getWidth();
|
||||
|
||||
Reference in New Issue
Block a user