Jump from Recordings to Requests tab

This commit is contained in:
relikd
2020-09-05 20:08:37 +02:00
parent 8cd3f7fb3a
commit b8660c9a35
3 changed files with 69 additions and 1 deletions

View File

@@ -116,4 +116,13 @@ class VCDateFilter: UIViewController, UIGestureRecognizerDelegate {
NotifyDateFilterChanged.post()
}
}
static func disableFilter() {
if Prefs.DateFilter.Kind <-? .Off {
Prefs.DateFilter.LastXMin = 0
Prefs.DateFilter.RangeA = nil
Prefs.DateFilter.RangeB = nil
NotifyDateFilterChanged.post()
}
}
}