mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Add ui tests
This commit is contained in:
@@ -45,7 +45,7 @@ struct PollHistory: View {
|
||||
.onAppear {
|
||||
viewModel.send(viewAction: .viewAppeared)
|
||||
}
|
||||
.onChange(of: viewModel.mode) { newValue in
|
||||
.onChange(of: viewModel.mode) { _ in
|
||||
viewModel.send(viewAction: .segmentDidChange)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,6 +70,7 @@ struct PollListItem: View {
|
||||
Text(pollData.winningOption!.text)
|
||||
.font(theme.fonts.body)
|
||||
.foregroundColor(theme.colors.primaryContent)
|
||||
.accessibilityLabel("PollListData.winningOption")
|
||||
|
||||
Spacer()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user