Fix lint issues.

This commit is contained in:
Brent Simmons
2025-01-24 22:31:37 -08:00
parent f1640d8d09
commit cc4914a7ef
17 changed files with 47 additions and 55 deletions

View File

@@ -272,9 +272,13 @@ class MainWindowController: NSWindowController, NSUserInterfaceValidations {
guard let detailViewController = detailViewController else {
return
}
detailViewController.canScrollDown { (canScroll) in
detailViewController.canScrollDown { canScroll in
NSCursor.setHiddenUntilMouseMoves(true)
canScroll ? detailViewController.scrollPageDown(sender) : self.nextUnread(sender)
if canScroll {
detailViewController.scrollPageDown(sender)
} else {
self.nextUnread(sender)
}
}
}