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:
parent
2e069897db
commit
0b2885461a
3 changed files with 43 additions and 10 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue