diff options
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/View/TextCell.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/View/TextCell.swift | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/View/TextCell.swift b/WireGuard/WireGuard/UI/iOS/View/TextCell.swift index ba9b37f..7df9444 100644 --- a/WireGuard/WireGuard/UI/iOS/View/TextCell.swift +++ b/WireGuard/WireGuard/UI/iOS/View/TextCell.swift @@ -28,7 +28,11 @@ class TextCell: UITableViewCell { override func prepareForReuse() { super.prepareForReuse() message = "" - setTextColor(.black) + if #available(iOS 13.0, *) { + setTextColor(.label) + } else { + setTextColor(.black) + } setTextAlignment(.left) } } |