Added the "invertStyle" flag to the RecordingButtonStyle button style in the Recording package target.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user