Disable block & ignore filter during recording
This commit is contained in:
@@ -64,8 +64,11 @@ class VCRecordings: UIViewController, UINavigationControllerDelegate {
|
||||
return
|
||||
}
|
||||
currentRecording = RecordingsDB.startNew()
|
||||
QLog.Debug("start recording #\(currentRecording!.id)")
|
||||
startTimer(animate: true)
|
||||
notifyVPN(setRecording: true)
|
||||
} else {
|
||||
notifyVPN(setRecording: false)
|
||||
stopTimer(animate: true)
|
||||
RecordingsDB.stop(¤tRecording!)
|
||||
let editVC = (children.first as! TVCPreviousRecords)
|
||||
@@ -74,6 +77,11 @@ class VCRecordings: UIViewController, UINavigationControllerDelegate {
|
||||
}
|
||||
}
|
||||
|
||||
private func notifyVPN(setRecording state: Bool) {
|
||||
PrefsShared.CurrentlyRecording = state
|
||||
GlassVPN.send(.isRecording(state))
|
||||
}
|
||||
|
||||
private func startTimer(animate: Bool) {
|
||||
guard let r = currentRecording, r.stop == nil else {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user