Working with Pulsating

This commit is contained in:
Hariharan Mudaliar 2025-10-17 18:24:35 +05:30
commit 4132b13bdc
2 changed files with 18 additions and 6 deletions

View file

@ -45,7 +45,7 @@ struct LockScreenLiveActivityOverlay: View {
}
var body: some View {
HStack(spacing: 0) {
HStack(alignment: .top, spacing: 0) {
Color.clear
.background {
HStack {
@ -62,13 +62,13 @@ struct LockScreenLiveActivityOverlay: View {
}
.frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .leading)
}
.frame(width: indicatorSize, height: notchSize.height)
.frame(width: indicatorSize, height: notchSize.height, alignment: .top)
Color.clear
.frame(width: notchSize.width, height: notchSize.height)
.frame(width: notchSize.width, height: notchSize.height, alignment: .top)
Color.clear
.frame(width: indicatorSize, height: notchSize.height)
.frame(width: indicatorSize, height: notchSize.height, alignment: .top)
}
.frame(width: baseWidth, height: notchSize.height)
.padding(.horizontal, horizontalPadding)