Change unread indicator font and weight to match existing iOS parameters

This commit is contained in:
Maurice Parker 2020-07-03 20:03:36 -05:00
parent 4393e54a5c
commit 6b45a72707
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,8 @@ struct UnreadCountView: View {
var body: some View {
Text(verbatim: String(count))
.font(.footnote)
.font(.caption)
.fontWeight(.bold)
.padding(.horizontal, 7)
.padding(.vertical, 1)
.background(AppAssets.sidebarUnreadCountBackground)

View File

@ -20,7 +20,6 @@ private let monoSpaceTrait = NSFontDescriptor.SymbolicTraits.monoSpace
import UIKit
typealias Font = UIFont
typealias FontDescriptor = UIFontDescriptor
typealias Color = UIColor
private let boldTrait = UIFontDescriptor.SymbolicTraits.traitBold
private let italicTrait = UIFontDescriptor.SymbolicTraits.traitItalic