mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 20:09:04 +00:00
Aadded sender name when voiceover focuses a poll title (#4306)
* added sender name in poll voiceover * improved the code * code improvement
This commit is contained in:
@@ -59,7 +59,7 @@ struct RoomPollsHistoryScreen: View {
|
||||
.font(.compound.bodySM)
|
||||
.foregroundColor(.compound.textSecondary)
|
||||
PollView(poll: pollTimelineItem.item.poll,
|
||||
state: .full(isEditable: pollTimelineItem.item.isEditable)) { action in
|
||||
state: .full(isEditable: pollTimelineItem.item.isEditable), sender: pollTimelineItem.item.sender) { action in
|
||||
switch action {
|
||||
case .selectOption(let optionID):
|
||||
guard let pollStartID = pollTimelineItem.item.id.eventID else { return }
|
||||
|
||||
Reference in New Issue
Block a user