Bug fixes

This commit is contained in:
Lumaa 2024-03-29 13:30:59 +01:00
parent 387141118b
commit 0fa829e3a0
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,7 @@ struct PostPoll: View {
.foregroundStyle(Color(uiColor: UIColor.systemBackground))
.font(.subheadline)
.padding(.leading, 25)
.transition(.identity)
if selectedOption.contains(index ?? 0) {
Image(systemName: "checkmark.circle.fill")
@ -122,6 +123,7 @@ struct PostPoll: View {
Text(showResults ? LocalizedStringKey("status.poll.hide-results") : LocalizedStringKey("status.poll.show-results"))
}
.buttonStyle(LargeButton(filled: false, height: 7.5))
.disabled(poll.safeVotersCount == 0)
}
}