Added POP3 block sender notice

This commit is contained in:
M66B
2022-03-26 16:55:46 +01:00
parent e31ff84a67
commit ca6ea9a037
3 changed files with 20 additions and 1 deletions

View File

@@ -83,6 +83,7 @@ public class FragmentDialogJunk extends FragmentDialogBase {
final View view = LayoutInflater.from(context).inflate(R.layout.dialog_junk, null);
final TextView tvMessage = view.findViewById(R.id.tvMessage);
final ImageButton ibInfoProvider = view.findViewById(R.id.ibInfoProvider);
final TextView tvPopHint = view.findViewById(R.id.tvPopHint);
final CheckBox cbBlockSender = view.findViewById(R.id.cbBlockSender);
final CheckBox cbBlockDomain = view.findViewById(R.id.cbBlockDomain);
final ImageButton ibMore = view.findViewById(R.id.ibMore);
@@ -119,6 +120,8 @@ public class FragmentDialogJunk extends FragmentDialogBase {
}
});
tvPopHint.setVisibility(imap ? View.GONE : View.VISIBLE);
cbBlockSender.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {