From a0660582b16a519be81580976afeec21b67742c8 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 13 Apr 2021 17:32:56 +0200 Subject: [PATCH] Cleanup --- app/src/main/java/eu/faircode/email/FragmentCompose.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/FragmentCompose.java b/app/src/main/java/eu/faircode/email/FragmentCompose.java index 95422290ad..7625fd1b32 100644 --- a/app/src/main/java/eu/faircode/email/FragmentCompose.java +++ b/app/src/main/java/eu/faircode/email/FragmentCompose.java @@ -5246,14 +5246,6 @@ public class FragmentCompose extends FragmentBase { getActivity().invalidateOptionsMenu(); } - private static String unprefix(String subject, String prefix) { - subject = subject.trim(); - prefix = prefix.trim().toLowerCase(); - while (subject.toLowerCase().startsWith(prefix)) - subject = subject.substring(prefix.length()).trim(); - return subject; - } - private static String collapsePrefixes(Context context, String language, String subject, boolean forward) { List> prefixes = new ArrayList<>(); for (String re : Helper.getStrings(context, language, R.string.title_subject_reply, ""))