mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Fix UI tests and Release builds. (#2248)
* Fix PollFormScreen UI tests. * Fix compilation error on release builds.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user