diff --git a/LaunchWidget/LaunchWidget.swift b/LaunchWidget/LaunchWidget.swift index 958740c..dd28ca5 100644 --- a/LaunchWidget/LaunchWidget.swift +++ b/LaunchWidget/LaunchWidget.swift @@ -99,7 +99,7 @@ struct LaunchWidgetEntryView : View { } } .frame(maxWidth: .infinity, maxHeight: .infinity) - .background(Color.white.opacity(0.1)) + .background(Color.white.opacity(0.2)) case .accessoryRectangular: Group { if let timer = entry.timers.first { @@ -109,7 +109,7 @@ struct LaunchWidgetEntryView : View { } } .frame(maxWidth: .infinity, maxHeight: .infinity) - .background(Color.white.opacity(0.1)) + .background(Color.white.opacity(0.2)) .cornerRadius(16.0) default: MultiCountdownView(timers: entry.timers) diff --git a/LaunchWidget/SingleTimerView.swift b/LaunchWidget/SingleTimerView.swift index 2dd398e..f4f2c4a 100644 --- a/LaunchWidget/SingleTimerView.swift +++ b/LaunchWidget/SingleTimerView.swift @@ -94,10 +94,16 @@ struct LockScreenCountdownView: View { var body: some View { VStack { - Text(activityName.uppercased()) - if let countdown = self.timer as? Countdown { - Text(countdown.duration.minuteSecond) - .monospaced() + let title = self.timer.displayName.uppercased() + switch self.family { + case .accessoryCircular: + Text(title) + default: + Text(title) + if let countdown = self.timer as? Countdown { + Text(countdown.duration.minuteSecond) + .monospaced() + } } } .multilineTextAlignment(.center)