diff --git a/apps/ios/Shared/Views/Chat/ChatItem/FramedItemView.swift b/apps/ios/Shared/Views/Chat/ChatItem/FramedItemView.swift index 9bc0af66df..c1c4d43897 100644 --- a/apps/ios/Shared/Views/Chat/ChatItem/FramedItemView.swift +++ b/apps/ios/Shared/Views/Chat/ChatItem/FramedItemView.swift @@ -207,8 +207,17 @@ private struct MetaColorPreferenceKey: PreferenceKey { } } +func onlyImage(_ ci: ChatItem) -> Bool { + if case let .image(text, _) = ci.content.msgContent { + return ci.quotedItem == nil && text == "" + } + return false +} + func chatItemFrameColor(_ ci: ChatItem, _ colorScheme: ColorScheme) -> Color { - ci.chatDir.sent + onlyImage(ci) + ? Color.clear + : ci.chatDir.sent ? (colorScheme == .light ? sentColorLight : sentColorDark) : Color(uiColor: .tertiarySystemGroupedBackground) }