mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
MESSENGER-4769 color changes part 2
This commit is contained in:
committed by
Frank Rotermund
parent
bbbe3f4e5b
commit
6d38c5fe24
@@ -69,12 +69,16 @@ struct PollEditForm: View {
|
||||
}
|
||||
}
|
||||
|
||||
Button(VectorL10n.pollEditFormAddOption) {
|
||||
// bwi: 4769
|
||||
Button {
|
||||
withAnimation(.easeInOut(duration: 0.2)) {
|
||||
viewModel.send(viewAction: .addAnswerOption)
|
||||
}
|
||||
} label: {
|
||||
Text(VectorL10n.pollEditFormAddOption)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
.font(theme.fonts.bodySB)
|
||||
}
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
.disabled(!viewModel.viewState.addAnswerOptionButtonEnabled)
|
||||
|
||||
Spacer()
|
||||
@@ -89,6 +93,7 @@ struct PollEditForm: View {
|
||||
}
|
||||
.padding(.vertical, 24.0)
|
||||
.padding(.horizontal, 16.0)
|
||||
.background(Color(ThemeService.shared().theme.backgroundColor)) // bwi: 4769
|
||||
.activityIndicator(show: viewModel.viewState.showLoadingIndicator)
|
||||
.alert(item: $viewModel.alertInfo) { info in
|
||||
Alert(title: Text(info.title),
|
||||
|
||||
Reference in New Issue
Block a user