From 88218cd6ecd9db5b0130d67eb3ad756214ae39f0 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Sun, 5 May 2024 18:10:32 +0200 Subject: [PATCH] Style fix --- IceCubesAppWidgetsExtension/LatestPostsWidget.swift | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/IceCubesAppWidgetsExtension/LatestPostsWidget.swift b/IceCubesAppWidgetsExtension/LatestPostsWidget.swift index 551d2588..09d0225a 100644 --- a/IceCubesAppWidgetsExtension/LatestPostsWidget.swift +++ b/IceCubesAppWidgetsExtension/LatestPostsWidget.swift @@ -171,16 +171,18 @@ struct LatestPostsWidgetView : View { .frame(width: 16, height: 16) } HStack(spacing: 0) { + Text(status.account.safeDisplayName) + .foregroundStyle(.primary) if family != .systemSmall { - Text(status.account.safeDisplayName) + Text(" @") + .foregroundStyle(.tertiary) + Text(status.account.username) + .foregroundStyle(.tertiary) } - Text(" @") - Text(status.account.username) Spacer() } .font(.subheadline) .fontWeight(.semibold) - .foregroundStyle(.secondary) .lineLimit(1) } }