mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Added optional HTML button
This commit is contained in:
@@ -63,6 +63,7 @@ public class FragmentDialogButtons extends FragmentDialogBase {
|
||||
final CheckBox cbPin = dview.findViewById(R.id.cbPin);
|
||||
final CheckBox cbPrint = dview.findViewById(R.id.cbPrint);
|
||||
final CheckBox cbHeaders = dview.findViewById(R.id.cbHeaders);
|
||||
final CheckBox cbHtml = dview.findViewById(R.id.cbHtml);
|
||||
final CheckBox cbRaw = dview.findViewById(R.id.cbRaw);
|
||||
final CheckBox cbUnsubscribe = dview.findViewById(R.id.cbUnsubscribe);
|
||||
|
||||
@@ -90,6 +91,7 @@ public class FragmentDialogButtons extends FragmentDialogBase {
|
||||
cbPin.setChecked(prefs.getBoolean("button_pin", false));
|
||||
cbPrint.setChecked(prefs.getBoolean("button_print", false));
|
||||
cbHeaders.setChecked(prefs.getBoolean("button_headers", false));
|
||||
cbHtml.setChecked(prefs.getBoolean("button_html", false));
|
||||
cbRaw.setChecked(prefs.getBoolean("button_raw", false));
|
||||
cbUnsubscribe.setChecked(prefs.getBoolean("button_unsubscribe", true));
|
||||
|
||||
@@ -120,6 +122,7 @@ public class FragmentDialogButtons extends FragmentDialogBase {
|
||||
editor.putBoolean("button_pin", cbPin.isChecked());
|
||||
editor.putBoolean("button_print", cbPrint.isChecked());
|
||||
editor.putBoolean("button_headers", cbHeaders.isChecked());
|
||||
editor.putBoolean("button_html", cbHtml.isChecked());
|
||||
editor.putBoolean("button_raw", cbRaw.isChecked());
|
||||
editor.putBoolean("button_unsubscribe", cbUnsubscribe.isChecked());
|
||||
editor.apply();
|
||||
|
||||
Reference in New Issue
Block a user