From c6ad264b66b61755e2c0ff1c6e87d9a51fb6a143 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 21 Dec 2024 13:07:55 +0100 Subject: [PATCH] Let (semi) colon end sentences --- app/src/main/java/eu/faircode/email/Helper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/Helper.java b/app/src/main/java/eu/faircode/email/Helper.java index c15583b21a..397a036212 100644 --- a/app/src/main/java/eu/faircode/email/Helper.java +++ b/app/src/main/java/eu/faircode/email/Helper.java @@ -2793,13 +2793,13 @@ public class Helper { } static boolean isEndChar(char c) { - return (isSentenceChar(c) || - c == ',' || c == ':' || c == ';'); + return (isSentenceChar(c) || c == ','); } static boolean isSentenceChar(char c) { return (c == '.' /* Latin */ || c == '。' /* Chinese */ || + c == ':' || c == ';' || c == '?' || c == '!'); }