mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Removed normalizing of notifications
This commit is contained in:
parent
43bfea15ba
commit
6529cbad68
1 changed files with 2 additions and 9 deletions
|
@ -86,7 +86,6 @@ import java.net.SocketException;
|
|||
import java.net.UnknownHostException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.text.DateFormat;
|
||||
import java.text.Normalizer;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
|
@ -4046,14 +4045,8 @@ class Core {
|
|||
if (!TextUtils.isEmpty(preview))
|
||||
sb.append(preview);
|
||||
}
|
||||
if (sb.length() > 0) {
|
||||
String ascii = Normalizer
|
||||
.normalize(sb.toString(), Normalizer.Form.NFKD)
|
||||
.replaceAll("\\p{InCombiningDiacriticalMarks}+", "")
|
||||
.replace("ß", "ss")
|
||||
.replace("ij", "ij");
|
||||
mbuilder.setContentText(ascii);
|
||||
}
|
||||
if (sb.length() > 0)
|
||||
mbuilder.setContentText(sb.toString());
|
||||
|
||||
// Device
|
||||
if (!notify_messaging) {
|
||||
|
|
Loading…
Reference in a new issue