Make the summary text start right after the title rather than on the next line.

This commit is contained in:
Brent Simmons 2018-02-19 21:25:32 -08:00
parent 6e875888c4
commit 28f001b3ed
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ 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: "\n" + text, attributes: [NSAttributedStringKey.foregroundColor: appearance.textColor, NSAttributedStringKey.font: appearance.textFont])
let attributedText = NSAttributedString(string: " " + text, attributes: [NSAttributedStringKey.foregroundColor: appearance.textColor, NSAttributedStringKey.font: appearance.textFont])
titleMutable.append(attributedText)
return titleMutable
}