Fix UI tests and Release builds. (#2248)

* Fix PollFormScreen UI tests.

* Fix compilation error on release builds.
This commit is contained in:
Doug
2023-12-14 15:09:29 +00:00
committed by GitHub
parent ea5b154d6e
commit 669141b119
3 changed files with 8 additions and 12 deletions
@@ -53,10 +53,6 @@ struct PollFormScreen: View {
kind: .textField(text: $context.question, axis: .vertical))
.focused($focus, equals: .question)
.accessibilityIdentifier(A11yIdentifiers.pollFormScreen.question)
.onSubmit {
focus = context.options.indices.first.map { .option(index: $0) }
}
.submitLabel(.next)
} header: {
Text(L10n.screenCreatePollQuestionDesc)
.compoundListSectionHeader()