Show inline images by default

This commit is contained in:
M66B
2019-08-24 19:47:11 +02:00
parent bb1671abfd
commit c75059120c
5 changed files with 6 additions and 5 deletions

View File

@@ -2403,7 +2403,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
Document document = Jsoup.parse(body);
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean inline = prefs.getBoolean("inline_images", false);
boolean inline = prefs.getBoolean("inline_images", true);
boolean has_images = false;
for (Element img : document.select("img")) {
@@ -3743,7 +3743,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
final ContentLoadingProgressBar pbWait = dview.findViewById(R.id.pbWait);
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
boolean inline = prefs.getBoolean("inline_images", false);
boolean inline = prefs.getBoolean("inline_images", true);
boolean autocontent = prefs.getBoolean("autocontent", false);
setupWebView(webView);