Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make CreatePollView public #685

Merged
merged 3 commits into from
Dec 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix message thread reply footnote view not shown if parent message not in cache [#681](https://github.com/GetStream/stream-chat-swiftui/pull/681)
### ⚡ Performance
- Improve message search performance [#680](https://github.com/GetStream/stream-chat-swiftui/pull/680)
### ✅ Added
- Make `CreatePollView` public [#685](https://github.com/GetStream/stream-chat-swiftui/pull/685)

# [4.68.0](https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.68.0)
_December 03, 2024_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ struct ComposerPollView: View {
}
}

struct CreatePollView: View {
public struct CreatePollView: View {

@Injected(\.colors) var colors
@Injected(\.fonts) var fonts
Expand All @@ -47,7 +47,7 @@ struct CreatePollView: View {

@State private var listId = UUID()

init(chatController: ChatChannelController, messageController: ChatMessageController?) {
public init(chatController: ChatChannelController, messageController: ChatMessageController?) {
_viewModel = StateObject(
wrappedValue: CreatePollViewModel(
chatController: chatController,
Expand All @@ -56,7 +56,7 @@ struct CreatePollView: View {
)
}

var body: some View {
public var body: some View {
NavigationView {
List {
VStack(alignment: .leading, spacing: 8) {
Expand Down
Loading