diff --git a/Sources/App/MenuController.swift b/Sources/App/MenuController.swift index 3be3912..29cc615 100644 --- a/Sources/App/MenuController.swift +++ b/Sources/App/MenuController.swift @@ -43,6 +43,15 @@ class MenuController: NSObject { } ) + NotificationCenter.default.addObserver( + forName: Defaults.changedNotification, + object: Defaults.shared, + queue: nil, + using: { [weak self] _ in + self?.refreshMenuContents() + } + ) + // Update UI now refreshMenuContents() }