@@ -74,17 +74,17 @@ public enum DateIndicatorPlacement {
74
74
/// Used to show and hide different helper views around the message.
75
75
public struct MessageDisplayOptions {
76
76
77
- let showAvatars : Bool
78
- let showMessageDate : Bool
79
- let showAuthorName : Bool
80
- let animateChanges : Bool
81
- let dateLabelSize : CGFloat
82
- let lastInGroupHeaderSize : CGFloat
83
- let minimumSwipeGestureDistance : CGFloat
84
- let currentUserMessageTransition : AnyTransition
85
- let otherUserMessageTransition : AnyTransition
86
- let shouldAnimateReactions : Bool
87
- var messageLinkDisplayResolver : ( ChatMessage ) -> [ NSAttributedString . Key : Any ]
77
+ public let showAvatars : Bool
78
+ public let showMessageDate : Bool
79
+ public let showAuthorName : Bool
80
+ public let animateChanges : Bool
81
+ public let dateLabelSize : CGFloat
82
+ public let lastInGroupHeaderSize : CGFloat
83
+ public let minimumSwipeGestureDistance : CGFloat
84
+ public let currentUserMessageTransition : AnyTransition
85
+ public let otherUserMessageTransition : AnyTransition
86
+ public let shouldAnimateReactions : Bool
87
+ public let messageLinkDisplayResolver : ( ChatMessage ) -> [ NSAttributedString . Key : Any ]
88
88
89
89
public init (
90
90
showAvatars: Bool = true ,
@@ -104,7 +104,7 @@ public struct MessageDisplayOptions {
104
104
self . showAuthorName = showAuthorName
105
105
self . showMessageDate = showMessageDate
106
106
self . animateChanges = animateChanges
107
- dateLabelSize = overlayDateLabelSize
107
+ self . dateLabelSize = overlayDateLabelSize
108
108
self . minimumSwipeGestureDistance = minimumSwipeGestureDistance
109
109
self . currentUserMessageTransition = currentUserMessageTransition
110
110
self . otherUserMessageTransition = otherUserMessageTransition
0 commit comments