From a6252c2df3183a233298100261de461675fa3ae5 Mon Sep 17 00:00:00 2001 From: Benjamin Erhart Date: Fri, 29 May 2026 16:06:52 +0200 Subject: [PATCH] Issue #10: Improved DNS Settings title. --- dns/BlocklistOption.swift | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/dns/BlocklistOption.swift b/dns/BlocklistOption.swift index 7935deb..ebef560 100644 --- a/dns/BlocklistOption.swift +++ b/dns/BlocklistOption.swift @@ -33,12 +33,7 @@ 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) - } + return String(format: "%1$@: %2$@", ViewModel.title, self.rawValue) } var icon: String {