mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Simplification
This commit is contained in:
@@ -791,7 +791,7 @@ class ImageHelper {
|
||||
|
||||
@NonNull
|
||||
static File getCacheFile(Context context, long id, String source, String extension) {
|
||||
File dir = Helper.ensureExists(new File(context.getFilesDir(), "images"));
|
||||
File dir = Helper.ensureExists(context.getFilesDir(), "images");
|
||||
return new File(dir, id + "_" + Math.abs(source.hashCode()) + extension);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user