From 118640e4bcd46a6040e4e6ccc07d9a61dd8d8b44 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 25 Nov 2026 10:20:31 -0800 Subject: [PATCH] Expand one-line bodies and complete file header. --- iOS/Account/MinifluxAccountView.swift | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/iOS/Account/MinifluxAccountView.swift b/iOS/Account/MinifluxAccountView.swift index 3fe76bd6b..af2d62488 100644 --- a/iOS/Account/MinifluxAccountView.swift +++ b/iOS/Account/MinifluxAccountView.swift @@ -2,6 +2,7 @@ // MinifluxAccountView.swift // NetNewsWire-iOS // +// Created by Dave Marquard on 7/15/26. // Copyright © 2026 Ranchero Software. All rights reserved. // @@ -53,7 +54,9 @@ struct MinifluxAccountView: View { } Section { Button(account == nil ? NSLocalizedString("Add Account", comment: "Add Account") : NSLocalizedString("Update Credentials", comment: "Update Credentials")) { - Task { await submit() } + Task { + await submit() + } } .frame(maxWidth: .infinity) .disabled(!canSubmit || isValidating) @@ -69,7 +72,9 @@ struct MinifluxAccountView: View { SafariView(url: signUpURL) } } - .onAppear { loadExistingCredentials() } + .onAppear { + loadExistingCredentials() + } } private var canSubmit: Bool { @@ -105,7 +110,9 @@ struct MinifluxAccountView: View { : Credentials(type: .minifluxBasic, username: username.trimmingWhitespace, secret: password) isValidating = true - defer { isValidating = false } + defer { + isValidating = false + } do { guard let validatedCredentials = try await Account.validateCredentials(type: .miniflux, credentials: credentials, endpoint: endpoint) else {