Allow resizing of inline and attached images separately

This commit is contained in:
M66B
2020-01-07 15:49:34 +01:00
parent ff7a181dad
commit 830f2b311d
5 changed files with 49 additions and 14 deletions

View File

@@ -196,6 +196,14 @@ public class ApplicationEx extends Application {
prefs.getBoolean("experiments", false))
editor.putBoolean("quick_filter", true);
editor.remove("experiments");
} else if (version < 889) {
if (prefs.contains("autoresize")) {
boolean autoresize = prefs.getBoolean("autoresize", true);
editor.putBoolean("resize_images", autoresize);
editor.putBoolean("resize_attachments", autoresize);
editor.remove("autoresize");
}
}
if (BuildConfig.DEBUG && false) {