Refactor the code that extract the search terms.
This commit is contained in:
11 files changed
+109
-126
No files matched your search
@@ -41,7 +41,7 @@ class ChapterSearchController: NSWindowController, NSTableViewDataSource, NSTabl
|
||||
|
||||
case .movie(let title):
|
||||
searchTerm = title
|
||||
case .tvShow(_, _, _):
|
||||
case .tvShow, .none:
|
||||
searchTerm = title
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user