mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-03 22:56:57 +02:00
Additional translations and accessiblity labels
This commit is contained in:
@@ -140,6 +140,7 @@ struct Composer: View {
|
||||
.padding(11)
|
||||
.background(Circle().fill(theme.colors.system))
|
||||
}
|
||||
.accessibilityLabel(VectorL10n.create)
|
||||
FormattingToolbar(formatItems: formatItems) { type in
|
||||
wysiwygViewModel.apply(type.action)
|
||||
}
|
||||
@@ -167,6 +168,7 @@ struct Composer: View {
|
||||
}
|
||||
}
|
||||
.accessibilityIdentifier(actionButtonAccessibilityIdentifier)
|
||||
.accessibilityLabel(VectorL10n.send)
|
||||
.isHidden(!showSendButton)
|
||||
}
|
||||
.onChange(of: wysiwygViewModel.isContentEmpty) { empty in
|
||||
|
||||
@@ -45,6 +45,7 @@ struct FormattingToolbar: View {
|
||||
.background(item.active ? theme.colors.accent.opacity(0.1) : theme.colors.background)
|
||||
.cornerRadius(8)
|
||||
.accessibilityIdentifier(item.accessibilityIdentifier)
|
||||
.accessibilityLabel(item.accessibilityLabel)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user