1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

Reformatted hint only when WebView

This commit is contained in:
M66B 2023-02-28 18:07:34 +01:00
parent 273b05e7a1
commit 8b79e0fb3f
2 changed files with 4 additions and 1 deletions

View file

@ -3245,7 +3245,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
!EntityFolder.OUTBOX.equals(message.folderType)
? View.VISIBLE : View.GONE);
boolean reformatted_hint = prefs.getBoolean("reformatted_hint", true);
boolean reformatted_hint = prefs.getBoolean("reformatted_hint", hasWebView);
tvReformatted.setVisibility(reformatted_hint ? View.VISIBLE : View.GONE);
boolean signed_data = args.getBoolean("signed_data");

View file

@ -1158,6 +1158,9 @@ public class FragmentOptionsBackup extends FragmentBase implements SharedPrefere
if ("external_storage".equals(key))
continue;
if ("reformatted_hint".equals(key))
continue;
Object value = jsetting.get("value");
String type = jsetting.optString("type");
Log.i("Setting name=" + key + " value=" + value + " type=" + type);