Discard recording if time criteria not met
This commit is contained in:
@@ -158,7 +158,7 @@ struct VPNAppMessage {
|
||||
.init("notify-prefs-change:1")
|
||||
}
|
||||
/// Triggered whenever user taps on the start/stop recording button
|
||||
static func isRecording(_ state: Bool) -> Self {
|
||||
.init("recording-now:\(state ? 1 : 0)")
|
||||
static func isRecording(_ state: CurrentRecordingState) -> Self {
|
||||
.init("recording-now:\(state.rawValue)")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user