Added a process command for recording processing on the RecordingCommand enum in the Commanding package target.
This commit is contained in:
@@ -4,4 +4,6 @@ public enum RecordingCommand: Equatable, Sendable {
|
||||
case toggle
|
||||
/// Discards the recording, like a press of the feature's discard button.
|
||||
case discard
|
||||
/// Sends the paused recording for processing, like a press of the feature's send button.
|
||||
case process
|
||||
}
|
||||
|
||||
@@ -436,6 +436,8 @@ private extension RecordingView.Model {
|
||||
pressedMain()
|
||||
case .discard:
|
||||
pressedDiscard()
|
||||
case .process:
|
||||
pressedSend()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user