MESSENGER-3157 third notification settings option

This commit is contained in:
Arnfried Griesert
2023-03-07 13:28:09 +00:00
committed by Frank Rotermund
parent a50402d361
commit 89f8644abc
10 changed files with 49 additions and 11 deletions
@@ -48,11 +48,11 @@ struct RoomNotificationSettings: View {
)
}
SwiftUI.Section(
header: FormSectionHeader(text: VectorL10n.roomNotifsSettingsNotifyMeFor),
header: FormSectionHeader(text: BWIL10n.roomNotifsSettingsNotifyMeFor),
footer: FormSectionFooter(text: viewModel.viewState.roomEncryptedString)
) {
ForEach(viewModel.viewState.notificationOptions) { option in
FormPickerItem(title: option.title, selected: viewModel.viewState.notificationState == option) {
FormPickerItem(title: option.title, subtitle: option.subtitle, selected: viewModel.viewState.notificationState == option) {
viewModel.process(viewAction: .selectNotificationState(option))
}
}