Use triggerRefreshAll after adding a Miniflux account on Mac (matching other accounts).

This commit is contained in:
Brent Simmons committed 2026-11-26 10:29:31 -08:00
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)