ios: fix two-line preview on IOS 17+ (#4514)

This commit is contained in:
Stanislav Dmitrenko
2024-07-25 20:53:10 +07:00
committed by GitHub
parent 6fca6c22c5
commit ea12982788
@@ -178,6 +178,7 @@ struct ChatPreviewView: View {
.padding(.leading, hasFilePreview ? 0 : 8)
.padding(.trailing, hasFilePreview ? 38 : 36)
.offset(x: hasFilePreview ? -2 : 0)
.fixedSize(horizontal: false, vertical: true)
if !showChatPreviews && !draft {
t.privacySensitive(true).redacted(reason: .privacy)
} else {