removed unwanted bar now with waveforms

This commit is contained in:
Mark Gregory
2026-11-06 09:53:53 +00:00
parent 794fa595d7
commit cd3fa6332f
4 changed files with 65 additions and 5 deletions
+3 -2
View File
@@ -616,9 +616,10 @@ private struct ImportProgressDialog: View {
}
}
}
private struct WaveformProgressCard: View {
struct WaveformProgressCard: View {
let progress: WaveformJobProgress
let running: Bool
var studio = "Karaoke"
let cancel: () -> Void
let details: () -> Void
let dismiss: () -> Void
@@ -632,7 +633,7 @@ private struct WaveformProgressCard: View {
Text("\(Int(fraction*100))%").font(.system(size:11,weight:.semibold)).monospacedDigit()
}.frame(width:46,height:46).accessibilityLabel("Waveform progress").accessibilityValue("\(Int(fraction*100)) percent")
VStack(alignment:.leading,spacing:7) {
HStack { Text(running ? "Preparing Karaoke Waveforms" : "Waveform Results").font(.callout.weight(.semibold));Spacer();Text("\(progress.processed.formatted()) / \(progress.total.formatted())").font(.caption).monospacedDigit().foregroundStyle(.secondary) }
HStack { Text(running ? "Preparing "+studio+" Waveforms" : "Waveform Results").font(.callout.weight(.semibold));Spacer();Text("\(progress.processed.formatted()) / \(progress.total.formatted())").font(.caption).monospacedDigit().foregroundStyle(.secondary) }
GeometryReader { proxy in
ZStack(alignment:.leading) {
Capsule().fill(colour.opacity(0.12))