mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 18:32:55 +00:00
Provide table column header tooltips only for the status columns (since the others would just be the same as the title).
This commit is contained in:
1 parent
8361879a42
commit
a98f546605
1 file changed
+3
-2
@@ -62,14 +62,15 @@ enum TimelineColumn: String, CaseIterable {
|
||||
}
|
||||
}
|
||||
|
||||
var headerToolTip: String {
|
||||
/// Only the status columns need one — their headers have no text.
|
||||
var headerToolTip: String? {
|
||||
switch self {
|
||||
case .unread:
|
||||
NSLocalizedString("Unread", comment: "Unread")
|
||||
case .starred:
|
||||
NSLocalizedString("Starred", comment: "Starred")
|
||||
case .title, .feed, .date:
|
||||
headerTitle
|
||||
nil
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user