mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-06 12:28:29 +00:00
Only show a badge in the composer if the room is unencrypted. (#3866)
* Partially revert the message composer encryption badges and only show it for unencrypted rooms. * Update preview test snapshots. * Update UI test snapshots.
This commit is contained in:
@@ -232,9 +232,9 @@ struct ComposerToolbar: View {
|
||||
|
||||
private var composerPlaceholder: String {
|
||||
if context.viewState.isRoomEncrypted {
|
||||
return L10n.richTextEditorComposerEncryptedPlaceholder
|
||||
} else {
|
||||
return L10n.richTextEditorComposerPlaceholder
|
||||
} else {
|
||||
return L10n.richTextEditorComposerUnencryptedPlaceholder
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user