mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 09:18:18 +00:00
Fix release build compile error caused by recent RefreshTimer refactoring.
This commit is contained in:
1 parent
60a028498c
commit
476bd7ec56
1 file changed
+3
-3
@@ -151,15 +151,15 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
|
||||
self.toggleInspectorWindow(self)
|
||||
}
|
||||
|
||||
refreshTimer = RefreshTimer(delegate: self)
|
||||
|
||||
#if RELEASE
|
||||
debugMenuItem.menu?.removeItem(debugMenuItem)
|
||||
DispatchQueue.main.async {
|
||||
self.timedRefresh(nil)
|
||||
self.refreshTimer!.timedRefresh(nil)
|
||||
}
|
||||
#endif
|
||||
|
||||
refreshTimer = RefreshTimer(delegate: self)
|
||||
|
||||
#if DEBUG
|
||||
refreshTimer!.update()
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user