From d4b8911e1f8eeb196e069d942cafa8a6d0920e55 Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 11 Jun 2022 08:21:09 +0200 Subject: [PATCH] Added automatic charset option --- app/src/main/java/eu/faircode/email/AdapterMessage.java | 3 +++ app/src/main/res/values/strings.xml | 1 + 2 files changed, 4 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index 5cd6857f6e..e04bd9fced 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -6084,6 +6084,9 @@ public class AdapterMessage extends RecyclerView.Adapter charsets) { PopupMenuLifecycle popupMenu = new PopupMenuLifecycle(context, powner, ibMore); + popupMenu.getMenu().add(Menu.NONE, 0, 0, R.string.title_charset_auto) + .setIntent(new Intent().putExtra("charset", (String) null)); + int order = 0; for (String name : charsets.keySet()) { order++; diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4c205b53c9..ded0188633 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1473,6 +1473,7 @@ Thread info Resync Encoding + Automatic Show plain text Show HTML OpenKeychain not found