From 4bb8dad64d4186e7bc0a394ed40b62b934a0cae1 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Fri, 26 Sep 2025 19:06:23 +0300 Subject: [PATCH] Have the nightly label actually fit the icon. --- Tools/Sources/Commands/AppIconBanner.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Tools/Sources/Commands/AppIconBanner.swift b/Tools/Sources/Commands/AppIconBanner.swift index 5dc875c31..c6f0a3db7 100644 --- a/Tools/Sources/Commands/AppIconBanner.swift +++ b/Tools/Sources/Commands/AppIconBanner.swift @@ -52,13 +52,13 @@ struct BannerImage: View { .aspectRatio(contentMode: .fit) Text(text) - .frame(maxWidth: .infinity) - .padding() - .background(Color.black.opacity(0.5)) .foregroundColor(.white) .font(.system(size: 140)) .lineLimit(1) - .allowsTightening(true) + .minimumScaleFactor(0.5) + .padding() + .background(Color.black.opacity(0.5)) + .frame(maxWidth: .infinity) } .frame(width: image.size.width, height: image.size.height) }