mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Fix test-time crashes by making sure some main thread code runs on main thread.
This commit is contained in:
@@ -50,7 +50,7 @@ final class AdvancedPreferencesViewController: NSViewController {
|
||||
|
||||
private extension AdvancedPreferencesViewController {
|
||||
|
||||
func updateUI() {
|
||||
@MainActor func updateUI() {
|
||||
if wantsTestBuilds {
|
||||
testBuildsButton.state = .on
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user