mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Refactoring
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(context.getFilesDir(), "images");
|
||||
File dir = Helper.ensureExists(context, "images");
|
||||
return new File(dir, id + "_" + Math.abs(source.hashCode()) + extension);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user