Mark several classes as final.
This commit is contained in:
parent
f5c930a024
commit
8ad09228db
|
@ -15,7 +15,7 @@ enum ArticleExtractorButtonState {
|
|||
case off
|
||||
}
|
||||
|
||||
class ArticleExtractorButton: NSButton {
|
||||
final class ArticleExtractorButton: NSButton {
|
||||
|
||||
private var animatedLayer: CALayer?
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
import Foundation
|
||||
|
||||
class LegacyArticleExtractorButton: NSButton {
|
||||
final class LegacyArticleExtractorButton: NSButton {
|
||||
|
||||
var isError = false {
|
||||
didSet {
|
||||
|
|
|
@ -10,7 +10,7 @@ import AppKit
|
|||
import Tree
|
||||
import AppKitExtras
|
||||
|
||||
class SidebarOutlineView : NSOutlineView {
|
||||
final class SidebarOutlineView : NSOutlineView {
|
||||
|
||||
@IBOutlet var keyboardDelegate: KeyboardDelegate!
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ protocol SidebarDelegate: AnyObject {
|
|||
@MainActor func sidebarInvalidatedRestorationState(_: SidebarViewController)
|
||||
}
|
||||
|
||||
@objc @MainActor class SidebarViewController: NSViewController, NSOutlineViewDelegate, NSMenuDelegate, UndoableCommandRunner {
|
||||
@objc @MainActor final class SidebarViewController: NSViewController, NSOutlineViewDelegate, NSMenuDelegate, UndoableCommandRunner {
|
||||
|
||||
@IBOutlet weak var outlineView: NSOutlineView!
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
import AppKit
|
||||
|
||||
@MainActor final class UnreadCountView : NSView {
|
||||
final class UnreadCountView : NSView {
|
||||
|
||||
@MainActor struct Appearance {
|
||||
static let padding = NSEdgeInsets(top: 1.0, left: 7.0, bottom: 1.0, right: 7.0)
|
||||
|
|
Loading…
Reference in New Issue