mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-21 23:32:51 +00:00
Debug info: confirm/ask images/html
This commit is contained in:
parent
f2461acda2
commit
0af07e57b3
1 changed files with 5 additions and 0 deletions
|
@ -624,6 +624,11 @@ public class DebugHelper {
|
|||
try (OutputStream os = new BufferedOutputStream(new FileOutputStream(file))) {
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
|
||||
for (String key : new String[]{"confirm_images", "ask_images", "confirm_html", "ask_html"})
|
||||
size += write(os, String.format("%s=%b\r\n", key, prefs.getBoolean(key, true)));
|
||||
|
||||
size += write(os, "\r\n");
|
||||
|
||||
Map<String, ?> settings = prefs.getAll();
|
||||
List<String> keys = new ArrayList<>(settings.keySet());
|
||||
Collections.sort(keys);
|
||||
|
|
Loading…
Reference in a new issue