Reformatted hint only when WebView

pull/212/head
M66B 2 years ago
parent 273b05e7a1
commit 8b79e0fb3f

@ -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");

@ -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);

Loading…
Cancel
Save