mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Added option to skip printing quoted text
This commit is contained in:
@@ -8212,6 +8212,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
View dview = LayoutInflater.from(context).inflate(R.layout.dialog_print, null);
|
||||
CheckBox cbHeader = dview.findViewById(R.id.cbHeader);
|
||||
CheckBox cbImages = dview.findViewById(R.id.cbImages);
|
||||
CheckBox cbQuotes = dview.findViewById(R.id.cbQuotes);
|
||||
CheckBox cbNotAgain = dview.findViewById(R.id.cbNotAgain);
|
||||
|
||||
cbHeader.setChecked(prefs.getBoolean("print_html_header", true));
|
||||
@@ -8230,6 +8231,14 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
}
|
||||
});
|
||||
|
||||
cbQuotes.setChecked(prefs.getBoolean("print_html_quotes", true));
|
||||
cbQuotes.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||
prefs.edit().putBoolean("print_html_quotes", isChecked).apply();
|
||||
}
|
||||
});
|
||||
|
||||
cbNotAgain.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||
|
||||
Reference in New Issue
Block a user