Refactor the document window controller and the prefs controller. Some regression still in there.
This commit is contained in:
49 files changed
+2505
-2379
No files matched your search
@@ -232,10 +232,10 @@ class ChapterSearchController: NSWindowController, NSTableViewDataSource, NSTabl
|
||||
return result.title
|
||||
}
|
||||
else if tableColumn?.identifier.rawValue == "chaptercount" {
|
||||
return "\(result.chapters.count)".monospacedAttributedString()
|
||||
return "\(result.chapters.count)".smallMonospacedAttributedString()
|
||||
}
|
||||
else if tableColumn?.identifier.rawValue == "duration" {
|
||||
return StringFromTime(Int64(result.duration), 1000).monospacedAttributedString()
|
||||
return StringFromTime(Int64(result.duration), 1000).smallMonospacedAttributedString()
|
||||
}
|
||||
else if tableColumn?.identifier.rawValue == "confirmations" {
|
||||
return NSNumber(value: result.confimations)
|
||||
|
||||
Reference in new issue
Block a user