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

@@ -302,10 +302,7 @@ protocol SidebarDelegate: AnyObject {
// MARK: - Navigation
func canGoToNextUnread(wrappingToTop wrapping: Bool = false) -> Bool {
if let _ = nextSelectableRowWithUnreadArticle(wrappingToTop: wrapping) {
return true
}
return false
nextSelectableRowWithUnreadArticle(wrappingToTop: wrapping) != nil
}
func goToNextUnread(wrappingToTop wrapping: Bool = false) {