From ea1298278853188d0867dff92c23c8adcd603471 Mon Sep 17 00:00:00 2001 From: Stanislav Dmitrenko <7953703+avently@users.noreply.github.com> Date: Thu, 25 Jul 2024 20:53:10 +0700 Subject: [PATCH] ios: fix two-line preview on IOS 17+ (#4514) --- apps/ios/Shared/Views/ChatList/ChatPreviewView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ios/Shared/Views/ChatList/ChatPreviewView.swift b/apps/ios/Shared/Views/ChatList/ChatPreviewView.swift index 511c735895..ce638e8a0a 100644 --- a/apps/ios/Shared/Views/ChatList/ChatPreviewView.swift +++ b/apps/ios/Shared/Views/ChatList/ChatPreviewView.swift @@ -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 {