Added the "invertStyle" flag to the RecordingButtonStyle button style in the Recording package target.

This commit is contained in:
2026-07-03 20:01:06 +02:00
parent a9dd4c9abe
commit f97dac8371
2 changed files with 58 additions and 14 deletions
@@ -61,13 +61,14 @@ public struct RecordingView: View {
.resizable()
} else {
ProgressView()
.dynamicTypeSize(.small)
}
}
.disabled(model.isProcessing)
}
}
.buttonStyle(.recording)
.buttonStyle(.recording(
invertStyle: !model.isProcessing
))
}
.onChange(
of: model.state,