chore: migrate to v3 and adopt Doppler for secrets management #3

Open
kamil wants to merge 574 commits from v3-cleanup into main
Showing only changes of commit 71ba882858 - Show all commits

View File

@@ -119,24 +119,25 @@ struct MiniPlayerView: View {
.fill(Color.black.opacity(0.3))
)
// Progress indicator as bottom border
// Progress indicator - wraps around bottom corners of pill
GeometryReader { geo in
VStack {
Spacer()
ZStack(alignment: .leading) {
// Background track
RoundedRectangle(cornerRadius: 1)
// Background track - rounded to match pill shape
Capsule()
.fill(Color.white.opacity(0.2))
.frame(height: 3)
// Progress fill
RoundedRectangle(cornerRadius: 1)
// Progress fill - rounded to match pill shape
Capsule()
.fill(Color.amber)
.frame(width: geo.size.width * progress, height: 3)
.frame(width: max(3, geo.size.width * progress), height: 3)
}
.padding(.horizontal, 4) // Inset slightly from edges so it wraps nicely
}
}
.padding(.bottom, 0)
.padding(.bottom, 2)
}
)
.frame(height: 80)