mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
fix some bugs: 1. caption being displayed when blank 2. gallery should be tapped even when scanning fails
This commit is contained in:
@@ -107,7 +107,7 @@ nonisolated struct RoomMessageEventStringBuilder {
|
||||
}
|
||||
|
||||
private func buildMessage(for style: Style, caption: String?, type: String) -> AttributedString {
|
||||
guard let caption else {
|
||||
guard let caption, !caption.isBlank else {
|
||||
return AttributedString(type)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user