We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a674971 commit a4f0809Copy full SHA for a4f0809
Modules/Sources/TopicFeature/Views/PollView.swift
@@ -86,7 +86,9 @@ struct PollView: View {
86
HStack {
87
Button {
88
if showVoteResultsButtonTapped {
89
- showVoteResultsButtonTapped = false
+ withAnimation {
90
+ showVoteResultsButtonTapped = false
91
+ }
92
} else {
93
isSending = true
94
onVoteButtonTapped(selections)
@@ -105,7 +107,9 @@ struct PollView: View {
105
107
106
108
if !showVoteResultsButtonTapped {
109
- showVoteResultsButtonTapped = true
110
111
+ showVoteResultsButtonTapped = true
112
113
} label: {
114
Text("Show results", bundle: .module)
115
.padding(.horizontal, 18)
0 commit comments