diff options
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS/View/ConfTextView.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/View/ConfTextView.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/View/ConfTextView.swift b/WireGuard/WireGuard/UI/macOS/View/ConfTextView.swift index 481cbaa..bf0f822 100644 --- a/WireGuard/WireGuard/UI/macOS/View/ConfTextView.swift +++ b/WireGuard/WireGuard/UI/macOS/View/ConfTextView.swift @@ -46,9 +46,9 @@ class ConfTextView: NSTextView { private func updateTheme() { switch effectiveAppearance.bestMatch(from: [.aqua, .darkAqua]) ?? .aqua { case .darkAqua: - confTextStorage.updateAttributes(for: ConfTextDarkAquaColorTheme()) + confTextStorage.updateAttributes(for: ConfTextDarkAquaColorTheme.self) default: - confTextStorage.updateAttributes(for: ConfTextAquaColorTheme()) + confTextStorage.updateAttributes(for: ConfTextAquaColorTheme.self) } } |