mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-24 01:43:42 +02:00
Simplification
This commit is contained in:
@@ -4981,8 +4981,6 @@ public class FragmentCompose extends FragmentBase {
|
||||
if (TextUtils.isEmpty(name))
|
||||
return null;
|
||||
|
||||
name = Helper.sanitizeFilename(name);
|
||||
|
||||
File source = EntityAttachment.getFile(context, id, prev);
|
||||
File target = EntityAttachment.getFile(context, id, name);
|
||||
if (!source.renameTo(target))
|
||||
|
||||
Reference in New Issue
Block a user