mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Revert "Added option to disable priority indicator"
This reverts commit c687019c8c.
This commit is contained in:
@@ -150,7 +150,6 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
|
||||
private Spinner spFontSizeSubject;
|
||||
private Spinner spSubjectEllipsize;
|
||||
|
||||
private SwitchCompat swPriorityIndicator;
|
||||
private SwitchCompat swKeywords;
|
||||
private SwitchCompat swLabels;
|
||||
private SwitchCompat swFlags;
|
||||
@@ -213,7 +212,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
|
||||
"email_format", "prefer_contact", "only_contact", "distinguish_contacts", "show_recipients",
|
||||
"font_size_sender", "sender_ellipsize",
|
||||
"subject_top", "subject_italic", "highlight_subject", "font_size_subject", "subject_ellipsize",
|
||||
"priority_indicator", "keywords_header", "labels_header", "flags", "flags_background",
|
||||
"keywords_header", "labels_header", "flags", "flags_background",
|
||||
"preview", "preview_italic", "preview_lines", "align_header",
|
||||
"addresses", "hide_attachments",
|
||||
"message_zoom", "editor_zoom", "overview_mode",
|
||||
@@ -322,7 +321,6 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
|
||||
spFontSizeSubject = view.findViewById(R.id.spFontSizeSubject);
|
||||
spSubjectEllipsize = view.findViewById(R.id.spSubjectEllipsize);
|
||||
|
||||
swPriorityIndicator = view.findViewById(R.id.swPriorityIndicator);
|
||||
swKeywords = view.findViewById(R.id.swKeywords);
|
||||
swLabels = view.findViewById(R.id.swLabels);
|
||||
swFlags = view.findViewById(R.id.swFlags);
|
||||
@@ -1090,13 +1088,6 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
|
||||
}
|
||||
});
|
||||
|
||||
swPriorityIndicator.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
prefs.edit().putBoolean("priority_indicator", checked).apply();
|
||||
}
|
||||
});
|
||||
|
||||
swKeywords.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {
|
||||
@@ -1591,7 +1582,6 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
|
||||
break;
|
||||
}
|
||||
|
||||
swPriorityIndicator.setChecked(prefs.getBoolean("priority_indicator", true));
|
||||
swKeywords.setChecked(prefs.getBoolean("keywords_header", false));
|
||||
swLabels.setChecked(prefs.getBoolean("labels_header", true));
|
||||
swFlags.setChecked(prefs.getBoolean("flags", true));
|
||||
|
||||
Reference in New Issue
Block a user