Issue #6: Show UI to explain user's next steps to enable. Disable toggle as this cannot be used to activate DNS settings.

This commit is contained in:
Benjamin Erhart 2026-05-29 15:41:27 +02:00
parent 2e069897db
commit 0b2885461a
3 changed files with 43 additions and 10 deletions

View file

@ -32,6 +32,15 @@ enum BlocklistOption: String, CaseIterable, Identifiable {
}
}
var title: String {
switch self {
case .secure:
return String(format: NSLocalizedString( "%@: Malware and phishing protection", comment: ""), ViewModel.title)
case .securePlusAdblock:
return String(format: NSLocalizedString("%@: Security plus ad and tracker blocking", comment: ""), ViewModel.title)
}
}
var icon: String {
switch self {
case .secure: