Skip to content

Commit

Permalink
Open shouldMarkThreadRead and shouldMarkChannelRead (#3468)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuno-vieira authored Oct 22, 2024
1 parent 97a3660 commit 3461b05
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

# Upcoming

### 🔄 Changed
## StreamChatUI
### ✅ Added
- Open `shouldMarkThreadRead` and `shouldMarkChannelRead` [#3468](https://github.com/GetStream/stream-chat-swift/pull/3468)

# [4.65.0](https://github.com/GetStream/stream-chat-swift/releases/tag/4.65.0)
_October 18, 2024_
Expand Down
2 changes: 1 addition & 1 deletion Sources/StreamChatUI/ChatChannel/ChatChannelVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ open class ChatChannelVC: _ViewController,
}

/// A boolean value indicating whether it should mark the channel read.
public var shouldMarkChannelRead: Bool {
open var shouldMarkChannelRead: Bool {
guard isViewVisible, case .remoteDataFetched = channelController.state else {
return false
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/StreamChatUI/ChatThread/ChatThreadVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ open class ChatThreadVC: _ViewController,
}

/// A boolean value indicating whether it should mark the thread read.
public var shouldMarkThreadRead: Bool {
open var shouldMarkThreadRead: Bool {
guard isViewVisible, case .remoteDataFetched = messageController.state else {
return false
}
Expand Down

0 comments on commit 3461b05

Please sign in to comment.