Refactor the code that extract the search terms.

This commit is contained in:
Damiano Galassi committed 2017-10-09 14:30:19 +02:00
1 parent 594695d755
commit ecc0568c3e
11 files changed
+109 -126

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ class ChapterSearchController: NSWindowController, NSTableViewDataSource, NSTabl
case .movie(let title):
searchTerm = title
case .tvShow(_, _, _):
case .tvShow, .none:
searchTerm = title
}
}