Don’t show text in the timeline when there’s a title.

This commit is contained in:
Brent Simmons 2018-02-19 22:06:24 -08:00
parent 1614416fe0
commit 08b9a56ab3
1 changed files with 2 additions and 2 deletions

View File

@ -108,8 +108,8 @@ private func attributedTitleString(_ title: String, _ text: String, _ appearance
if !title.isEmpty && !text.isEmpty {
let titleMutable = NSMutableAttributedString(string: title, attributes: [NSAttributedStringKey.foregroundColor: appearance.titleColor, NSAttributedStringKey.font: appearance.titleFont])
let attributedText = NSAttributedString(string: " " + text, attributes: [NSAttributedStringKey.foregroundColor: appearance.textColor, NSAttributedStringKey.font: appearance.textFont])
titleMutable.append(attributedText)
// let attributedText = NSAttributedString(string: " " + text, attributes: [NSAttributedStringKey.foregroundColor: appearance.textColor, NSAttributedStringKey.font: appearance.textFont])
// titleMutable.append(attributedText)
return titleMutable
}