By default block senders

This commit is contained in:
M66B 2021-09-20 09:30:24 +02:00
parent 41b74a8461
commit 8af0d6a051
1 changed files with 1 additions and 0 deletions

View File

@ -270,6 +270,7 @@ public class FragmentDialogJunk extends FragmentDialogBase {
: getString(R.string.title_ask_spam_who, from)); : getString(R.string.title_ask_spam_who, from));
cbBlockSender.setEnabled(canBlock); cbBlockSender.setEnabled(canBlock);
cbBlockDomain.setEnabled(false); cbBlockDomain.setEnabled(false);
cbBlockSender.setChecked(canBlock);
ibMore.setImageLevel(1); ibMore.setImageLevel(1);
cbBlocklist.setChecked(check_blocklist && use_blocklist); cbBlocklist.setChecked(check_blocklist && use_blocklist);
tvBlocklist.setText(TextUtils.join(", ", DnsBlockList.getNamesEnabled(context))); tvBlocklist.setText(TextUtils.join(", ", DnsBlockList.getNamesEnabled(context)));