Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
nuno-vieira committed Dec 6, 2024
1 parent 6c96cc1 commit 51543d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@ public struct MessageRepliesView<Factory: ViewFactory>: View {
}

/// Lazy view that uses the message controller to fetch the parent message before creating message replies view.
/// This is need when the parent message is not available in the local cache.
/// This is needed when the parent message is not available in the local cache.
/// Changing the `parentMessage` to `nil` in the `MessageRepliesView` would case multiple changes including breaking changes.
struct LazyMessageRepliesView<Factory: ViewFactory>: View {
@ObservedObject private var parentMessageObserver: ChatMessageController.ObservableObject
@State private var parentMessageObserver: ChatMessageController.ObservableObject

var factory: Factory
var channel: ChatChannel
Expand Down

0 comments on commit 51543d2

Please sign in to comment.