mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Low light FTS options
This commit is contained in:
parent
2efe44bb76
commit
de8162a88e
1 changed files with 7 additions and 0 deletions
|
@ -250,9 +250,16 @@ public class FragmentDialogSearch extends FragmentDialogBase {
|
|||
cbSearchIndex.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
|
||||
@Override
|
||||
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
|
||||
cbSenders.setAlpha(isChecked ? Helper.LOW_LIGHT : 1.0f);
|
||||
cbRecipients.setAlpha(isChecked ? Helper.LOW_LIGHT : 1.0f);
|
||||
cbSubject.setAlpha(isChecked ? Helper.LOW_LIGHT : 1.0f);
|
||||
cbKeywords.setAlpha(isChecked ? Helper.LOW_LIGHT : 1.0f);
|
||||
cbMessage.setAlpha(isChecked ? Helper.LOW_LIGHT : 1.0f);
|
||||
cbNotes.setEnabled(!isChecked);
|
||||
cbHeaders.setEnabled(!isChecked);
|
||||
cbHtml.setEnabled(!isChecked);
|
||||
cbUnseen.setAlpha(isChecked ? Helper.LOW_LIGHT : 1.0f);
|
||||
cbFlagged.setAlpha(isChecked ? Helper.LOW_LIGHT : 1.0f);
|
||||
cbHidden.setEnabled(!isChecked);
|
||||
cbEncrypted.setEnabled(!isChecked);
|
||||
cbAttachments.setEnabled(!isChecked);
|
||||
|
|
Loading…
Reference in a new issue