From 6db6b245bd5e62f72d3c427c544503950b309f4c Mon Sep 17 00:00:00 2001 From: Mikhail Date: Mon, 21 Jul 2025 22:23:46 +0300 Subject: [PATCH] Fix alert title text truncation by enabling line wrapping with .fixedSize --- Sources/ComponentsKit/Components/Alert/SUAlert.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/ComponentsKit/Components/Alert/SUAlert.swift b/Sources/ComponentsKit/Components/Alert/SUAlert.swift index 741a8ba6..eb2b26aa 100644 --- a/Sources/ComponentsKit/Components/Alert/SUAlert.swift +++ b/Sources/ComponentsKit/Components/Alert/SUAlert.swift @@ -60,6 +60,7 @@ struct AlertContent: View { .foregroundStyle(UniversalColor.foreground.color) .multilineTextAlignment(.center) .frame(maxWidth: .infinity) + .fixedSize(horizontal: false, vertical: true) } func message(_ text: String) -> some View {