From ce2b2112d15534ee467f7da35167409013a49b83 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Thu, 21 Mar 2024 17:17:24 -0700 Subject: [PATCH] Make UnreadCountView.Appearance MainActor. --- Mac/MainWindow/Sidebar/UnreadCountView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac/MainWindow/Sidebar/UnreadCountView.swift b/Mac/MainWindow/Sidebar/UnreadCountView.swift index ddf9aeb17..a64f8d0b7 100644 --- a/Mac/MainWindow/Sidebar/UnreadCountView.swift +++ b/Mac/MainWindow/Sidebar/UnreadCountView.swift @@ -10,7 +10,7 @@ import AppKit @MainActor final class UnreadCountView : NSView { - struct Appearance { + @MainActor struct Appearance { static let padding = NSEdgeInsets(top: 1.0, left: 7.0, bottom: 1.0, right: 7.0) static let cornerRadius: CGFloat = 8.0 static let backgroundColor = NSColor(named: "SidebarUnreadCountBackground")!