diff --git a/Appcasts/netnewswire-beta.xml b/Appcasts/netnewswire-beta.xml index 5de1428ae..a14b54294 100755 --- a/Appcasts/netnewswire-beta.xml +++ b/Appcasts/netnewswire-beta.xml @@ -6,6 +6,19 @@ Most recent NetNewsWire changes with links to updates. en + + NetNewsWire 5.0b6 + Okay — one last beta! Pretty sure, at least.

+

Fixes a bug with undoing deleting feeds or folders. The sidebar wouldn’t update afterward to show that the feed is back. Now it does.

+

Opens preferences window in center of screen.

+

Centers main window on first launch.

+ ]]>
+ Fri, 23 Aug 2019 18:50:00 -0700 + + 10.14.4 +
+ NetNewsWire 5.0b5 en - NetNewsWire 5.0b5 + NetNewsWire 5.0b6 This is probably the last beta before the 5.0 release.

-

Preferences > Advanced now has app updating options — you can follow test builds or release builds. Release builds is the default. If you want to continue to get test builds, you’ll have to check the box next to “Test builds.”

-

Fixed a bug where smart feeds and folders wouldn’t re-fetch after a feed or folder was deleted, and so they might contain articles that should have been removed.

+

Okay — one last beta! Pretty sure, at least.

+

Fixes a bug with undoing deleting feeds or folders. The sidebar wouldn’t update afterward to show that the feed is back. Now it does.

+

Opens preferences window in center of screen.

+

Centers main window on first launch.

]]>
- Wed, 21 Aug 2019 22:05:00 -0700 - + Fri, 23 Aug 2019 18:50:00 -0700 + 10.14.4
diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index 3c1dd932c..53a823fcb 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -146,6 +146,9 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations, updateSortMenuItems() createAndShowMainWindow() + if isFirstRun { + mainWindowController?.window?.center() + } NotificationCenter.default.addObserver(self, selector: #selector(feedSettingDidChange(_:)), name: .FeedSettingDidChange, object: nil) NotificationCenter.default.addObserver(self, selector: #selector(userDefaultsDidChange(_:)), name: UserDefaults.didChangeNotification, object: nil) diff --git a/Mac/MainWindow/Sidebar/SidebarViewController.swift b/Mac/MainWindow/Sidebar/SidebarViewController.swift index 809cb4070..a2991ec01 100644 --- a/Mac/MainWindow/Sidebar/SidebarViewController.swift +++ b/Mac/MainWindow/Sidebar/SidebarViewController.swift @@ -363,9 +363,8 @@ private extension SidebarViewController { func rebuildTreeAndReloadDataIfNeeded() { if !animatingChanges && !BatchUpdate.shared.isPerforming { - if treeController.rebuild() { - outlineView.reloadData() - } + treeController.rebuild() + outlineView.reloadData() } } diff --git a/Mac/Preferences/PreferencesWindowController.swift b/Mac/Preferences/PreferencesWindowController.swift index 2ed8628c9..d8ae463bc 100644 --- a/Mac/Preferences/PreferencesWindowController.swift +++ b/Mac/Preferences/PreferencesWindowController.swift @@ -29,7 +29,6 @@ private struct ToolbarItemIdentifier { class PreferencesWindowController : NSWindowController, NSToolbarDelegate { - private let windowFrameName = "Preferences" private let windowWidth = CGFloat(512.0) // Width is constant for all views; only the height changes private var viewControllers = [String: NSViewController]() private let toolbarItemSpecs: [PreferencesToolbarItemSpec] = { @@ -51,9 +50,9 @@ class PreferencesWindowController : NSWindowController, NSToolbarDelegate { window?.showsToolbarButton = false window?.toolbar = toolbar - window?.setFrameAutosaveName(NSWindow.FrameAutosaveName(windowFrameName)) - switchToViewAtIndex(0) + + window?.center() } // MARK: Actions diff --git a/Mac/Resources/Info.plist b/Mac/Resources/Info.plist index 230c42b35..bffec6487 100644 --- a/Mac/Resources/Info.plist +++ b/Mac/Resources/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 5.0b5 + 5.0 CFBundleURLTypes @@ -33,7 +33,7 @@ CFBundleVersion - 2607 + 2609 LSApplicationCategoryType public.app-category.news LSMinimumSystemVersion