Refactoring

Something is brewing ...
This commit is contained in:
M66B
2020-09-02 20:44:17 +02:00
parent 71b440b3da
commit 783a38da03
2 changed files with 5 additions and 5 deletions

View File

@@ -4129,7 +4129,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (bm == null)
return null;
File file = ImageHelper.getCacheFile(context, id, source);
File file = ImageHelper.getCacheFile(context, id, source, ".png");
try (OutputStream os = new BufferedOutputStream(new FileOutputStream(file))) {
bm.compress(Bitmap.CompressFormat.PNG, 90, os);
}