File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Sources/StreamChatSwiftUI/ChatChannel/MessageList Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
7
7
- Video and giphy attachments now use ` makeMessageViewModifier `
8
8
- Updated scalling of avatar images
9
9
10
+ ### 🐞 Fixed
11
+ - ` AttachmentTextView ` respects configured body font
12
+
10
13
# [ 4.34.0] ( https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.34.0 )
11
14
_ July 06, 2023_
12
15
Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ public struct ImageAttachmentContainer<Factory: ViewFactory>: View {
78
78
public struct AttachmentTextView : View {
79
79
80
80
@Injected ( \. colors) private var colors
81
+ @Injected ( \. fonts) private var fonts
81
82
82
83
var message : ChatMessage
83
84
@@ -88,6 +89,7 @@ public struct AttachmentTextView: View {
88
89
public var body : some View {
89
90
HStack {
90
91
Text ( message. adjustedText)
92
+ . font ( fonts. body)
91
93
. standardPadding ( )
92
94
. foregroundColor ( textColor ( for: message) )
93
95
. fixedSize ( horizontal: false , vertical: true )
You can’t perform that action at this time.
0 commit comments