Allow selecting blocklists

This commit is contained in:
M66B
2021-06-26 15:14:59 +02:00
parent 2fb20056f0
commit 53775eb855
6 changed files with 147 additions and 29 deletions

View File

@@ -245,7 +245,7 @@ public class FragmentDialogJunk extends FragmentDialogBase {
cbBlockDomain.setEnabled(false);
ibMore.setImageLevel(1);
cbBlocklist.setChecked(check_blocklist && use_blocklist);
tvBlocklist.setText(TextUtils.join(", ", DnsBlockList.getNames()));
tvBlocklist.setText(TextUtils.join(", ", DnsBlockList.getNames(context)));
grpInJunk.setVisibility(inJunk ? View.GONE : View.VISIBLE);
grpMore.setVisibility(inJunk ? View.VISIBLE : View.GONE);