From d90e4d852fb672cbc8c192edd27ed9b9e6a48d6b Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 7 Jun 2024 11:01:13 +0200 Subject: [PATCH] Simplification --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 227247c05b..2bddfd29ab 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -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))