File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed
Sources/StreamChatSwiftUI/ChatChannel/Polls Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1010### 🐞 Fixed
1111- Fix composer not being locked after the channel was frozen [ #1015 ] ( https://github.com/GetStream/stream-chat-swiftui/pull/1015 )
1212- Fix ` PollOptionAllVotesView ` not updated on poll cast events [ #1025 ] ( https://github.com/GetStream/stream-chat-swiftui/pull/1025 )
13+ - Fix action sheet not showing when discarding Poll creation on iOS 26 [ #1027 ] ( https://github.com/GetStream/stream-chat-swiftui/pull/1027 )
1314
1415# [ 4.90.0] ( https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.90.0 )
1516_ October 08, 2025_
Original file line number Diff line number Diff line change @@ -175,6 +175,17 @@ public struct CreatePollView: View {
175175 } label: {
176176 Text ( L10n . Alert. Actions. cancel)
177177 }
178+ . actionSheet ( isPresented: $viewModel. discardConfirmationShown) {
179+ ActionSheet (
180+ title: Text ( L10n . Composer. Polls. actionSheetDiscardTitle) ,
181+ buttons: [
182+ . destructive( Text ( L10n . Alert. Actions. discardChanges) ) {
183+ presentationMode. wrappedValue. dismiss ( )
184+ } ,
185+ . default( Text ( L10n . Alert. Actions. keepEditing) )
186+ ]
187+ )
188+ }
178189 }
179190
180191 ToolbarItem ( placement: . principal) {
@@ -195,17 +206,6 @@ public struct CreatePollView: View {
195206 }
196207 }
197208 . navigationBarTitleDisplayMode ( . inline)
198- . actionSheet ( isPresented: $viewModel. discardConfirmationShown) {
199- ActionSheet (
200- title: Text ( L10n . Composer. Polls. actionSheetDiscardTitle) ,
201- buttons: [
202- . destructive( Text ( L10n . Alert. Actions. discardChanges) ) {
203- presentationMode. wrappedValue. dismiss ( )
204- } ,
205- . cancel( Text ( L10n . Alert. Actions. keepEditing) )
206- ]
207- )
208- }
209209 . alert ( isPresented: $viewModel. errorShown) {
210210 Alert . defaultErrorAlert
211211 }
You can’t perform that action at this time.
0 commit comments