8000 Make CreatePollView public · GetStream/stream-chat-swiftui@0da31d0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0da31d0

Browse files
committed
Make CreatePollView public
1 parent 6525d6b commit 0da31d0

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55

66
### ⚡ Performance
77
- Improve message search performance [#680](https://github.com/GetStream/stream-chat-swiftui/pull/680)
8+
### 🔄 Changed
9+
- Make `CreatePollView` public [#685](https://github.com/GetStream/stream-chat-swiftui/pull/685)
810

911
# [4.68.0](https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.68.0)
1012
_December 03, 2024_

Sources/StreamChatSwiftUI/ChatChannel/Polls/CreatePollView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ struct ComposerPollView: View {
3434
}
3535
}
3636

37-
struct CreatePollView: View {
37+
public struct CreatePollView: View {
3838

3939
@Injected(\.colors) var colors
4040
@Injected(\.fonts) var fonts
@@ -47,7 +47,7 @@ struct CreatePollView: View {
4747

4848
@State private var listId = UUID()
4949

50-
init(chatController: ChatChannelController, messageController: ChatMessageController?) {
50+
public init(chatController: ChatChannelController, messageController: ChatMessageController?) {
5151
_viewModel = StateObject(
5252
wrappedValue: CreatePollViewModel(
5353
chatController: chatController,
@@ -56,7 +56,7 @@ struct CreatePollView: View {
5656
)
5757
}
5858

59-
var body: some View {
59+
public var body: some View {
6060
NavigationView {
6161
List {
6262
VStack(alignment: .leading, spacing: 8) {

0 commit comments

Comments
 (0)
0