diff --git a/LaunchWidget/LaunchWidgetLiveActivity.swift b/LaunchWidget/LaunchWidgetLiveActivity.swift index fdd044b..7dc4a7f 100644 --- a/LaunchWidget/LaunchWidgetLiveActivity.swift +++ b/LaunchWidget/LaunchWidgetLiveActivity.swift @@ -50,6 +50,7 @@ struct LaunchWidgetLiveActivity: Widget { } .padding() .monospaced() + .background(Color(white: 0.1)) .foregroundColor(.white) .activitySystemActionForegroundColor(.white) } dynamicIsland: { context in @@ -74,13 +75,15 @@ struct LaunchWidgetLiveActivity: Widget { } compactLeading: { Text(context.attributes.name.uppercased()) } compactTrailing: { - if context.attributes.isTimer { - let range = Date()...context.attributes.date - Text(timerInterval: range, - pauseTime: range.lowerBound) - } else { - Text(context.attributes.date, style: .timer) - } + Group { + if context.attributes.isTimer { + let range = Date()...context.attributes.date + Text(timerInterval: range, + pauseTime: range.lowerBound) + } else { + Text(context.attributes.date, style: .timer) + } + }.multilineTextAlignment(.trailing) } minimal: { if context.attributes.isTimer { let range = Date()...context.attributes.date