DNS filters: proper sort + no cell selection + copy cell value

This commit is contained in:
relikd
2020-04-18 00:39:59 +02:00
parent 70508c1325
commit 245bb46e4f
4 changed files with 40 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ class DBWrapper {
}
func dataF_list(_ filter: FilterOptions) -> [String] {
Q.sync() { dataF.compactMap { $1.contains(filter) ? $0 : nil } }
Q.sync() { dataF.compactMap { $1.contains(filter) ? $0 : nil } }.sorted()
}
func dataF_counts() -> (blocked: Int, ignored: Int) {