File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Sources/StreamChatSwiftUI/ChatChannel/Polls Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
5
5
6
6
### ⚡ Performance
7
7
- 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 )
8
10
9
11
# [ 4.68.0] ( https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.68.0 )
10
12
_ December 03, 2024_
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ struct ComposerPollView: View {
34
34
}
35
35
}
36
36
37
- struct CreatePollView : View {
37
+ public struct CreatePollView : View {
38
38
39
39
@Injected ( \. colors) var colors
40
40
@Injected ( \. fonts) var fonts
@@ -47,7 +47,7 @@ struct CreatePollView: View {
47
47
48
48
@State private var listId = UUID ( )
49
49
50
- init ( chatController: ChatChannelController , messageController: ChatMessageController ? ) {
50
+ public init ( chatController: ChatChannelController , messageController: ChatMessageController ? ) {
51
51
_viewModel = StateObject (
52
52
wrappedValue: CreatePollViewModel (
53
53
chatController: chatController,
@@ -56,7 +56,7 @@ struct CreatePollView: View {
56
56
)
57
57
}
58
58
59
- var body : some View {
59
+ public var body : some View {
60
60
NavigationView {
61
61
List {
62
62
VStack ( alignment: . leading, spacing: 8 ) {
You can’t perform that action at this time.
0 commit comments