Change unread indicator font and weight to match existing iOS parameters
This commit is contained in:
parent
4393e54a5c
commit
6b45a72707
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue