Simplification

This commit is contained in:
M66B 2024-06-07 11:01:13 +02:00
parent 8289258094
commit d90e4d852f
1 changed files with 0 additions and 2 deletions

View File

@ -4981,8 +4981,6 @@ public class FragmentCompose extends FragmentBase {
if (TextUtils.isEmpty(name)) if (TextUtils.isEmpty(name))
return null; return null;
name = Helper.sanitizeFilename(name);
File source = EntityAttachment.getFile(context, id, prev); File source = EntityAttachment.getFile(context, id, prev);
File target = EntityAttachment.getFile(context, id, name); File target = EntityAttachment.getFile(context, id, name);
if (!source.renameTo(target)) if (!source.renameTo(target))