mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-03 02:42:54 +00:00
Use triggerRefreshAll after adding a Miniflux account on Mac (matching other accounts).
This commit is contained in:
1 parent
f17ea72f3c
commit
f900defd21
1 file changed
+1
-8
@@ -167,14 +167,7 @@ final class AccountsMinifluxWindowController: NSWindowController {
|
||||
hostWindow.endSheet(window, returnCode: NSApplication.ModalResponse.OK)
|
||||
}
|
||||
|
||||
let refreshingAccount = account
|
||||
Task { @MainActor in
|
||||
do {
|
||||
try await refreshingAccount?.refreshAll()
|
||||
} catch {
|
||||
NSApplication.shared.presentError(error)
|
||||
}
|
||||
}
|
||||
account?.triggerRefreshAll()
|
||||
} catch {
|
||||
if isNewAccount, let account {
|
||||
AccountManager.shared.deleteAccount(account)
|
||||
|
||||
Reference in new issue
Block a user