Refined the recording Live Activity presentation in the Widget target.
This commit is contained in:
@@ -5,21 +5,21 @@ import WidgetKit
|
||||
/// The Lock Screen banner of the recording Live Activity: a centered stack of the timer of the elapsed recording time, the label
|
||||
/// naming the current state, and the control buttons.
|
||||
struct RecordingLiveActivityView: View {
|
||||
|
||||
|
||||
// MARK: Properties
|
||||
|
||||
|
||||
/// The dynamic content of the Live Activity to render.
|
||||
let state: RecordingActivityAttributes.ContentState
|
||||
|
||||
|
||||
// MARK: Body
|
||||
|
||||
|
||||
var body: some View {
|
||||
VStack(
|
||||
alignment: .center,
|
||||
spacing: Constant.Spacing.stack
|
||||
) {
|
||||
RecordingStateLabel(state: state)
|
||||
|
||||
|
||||
RecordingTimerText(state: state)
|
||||
.font(.largeTitle)
|
||||
.fontWeight(.bold)
|
||||
@@ -27,7 +27,7 @@ struct RecordingLiveActivityView: View {
|
||||
RecordingControls(state: state)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
// MARK: - Constants
|
||||
|
||||
Reference in New Issue
Block a user