diff --git a/LoopFollowLAExtension/LoopFollowLiveActivity.swift b/LoopFollowLAExtension/LoopFollowLiveActivity.swift index 6d438531e..caeb90393 100644 --- a/LoopFollowLAExtension/LoopFollowLiveActivity.swift +++ b/LoopFollowLAExtension/LoopFollowLiveActivity.swift @@ -214,8 +214,7 @@ private struct LockScreenLiveActivityView: View { .foregroundStyle(.white.opacity(0.80)) .lineLimit(1) } - .frame(minWidth: 160, maxWidth: 184, alignment: .leading) - .layoutPriority(2) + .frame(maxWidth: .infinity, alignment: .leading) Rectangle() .fill(Color.white.opacity(0.20)) @@ -322,7 +321,7 @@ private struct MetricBlock: View { .allowsTightening(true) .layoutPriority(1) } - .frame(width: 72, alignment: .leading) + .frame(maxWidth: 72, alignment: .leading) } } @@ -360,7 +359,7 @@ private struct SlotView: View { var body: some View { if option == .none { Color.clear - .frame(width: 72, height: 36) + .frame(maxWidth: 72, minHeight: 36, maxHeight: 36) } else { MetricBlock(label: option.gridLabel, value: slotFormattedValue(option: option, snapshot: snapshot)) }