diff options
Diffstat (limited to 'WireGuard/WireGuard/UI/iOS/View/ChevronCell.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/iOS/View/ChevronCell.swift | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/iOS/View/ChevronCell.swift b/WireGuard/WireGuard/UI/iOS/View/ChevronCell.swift index 94e4e05..a059b9c 100644 --- a/WireGuard/WireGuard/UI/iOS/View/ChevronCell.swift +++ b/WireGuard/WireGuard/UI/iOS/View/ChevronCell.swift @@ -9,8 +9,13 @@ class ChevronCell: UITableViewCell { set(value) { textLabel?.text = value } } + var detailMessage: String { + get { return detailTextLabel?.text ?? "" } + set(value) { detailTextLabel?.text = value } + } + override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) { - super.init(style: .default, reuseIdentifier: reuseIdentifier) + super.init(style: .value1, reuseIdentifier: reuseIdentifier) accessoryType = .disclosureIndicator } |