Skip to content

Commit ddc0764

Browse files
tdhooghethomas
authored andcommitted
fix(lint): match project file header pattern and use implicit return
Made-with: Cursor
1 parent acfa573 commit ddc0764

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/SwiftNextcloudUI/Modifiers/LoginSheet.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-FileCopyrightText: Nextcloud GmbH
2-
// SPDX-FileCopyrightText: 2026 tdhooghe
2+
// SPDX-FileCopyrightText: 2025 tdhooghe
33
// SPDX-License-Identifier: GPL-3.0-or-later
44

55
import SwiftUI
@@ -97,7 +97,7 @@ extension View {
9797
@MainActor
9898
private class SessionCoordinator: NSObject, ASWebAuthenticationPresentationContextProviding {
9999
nonisolated func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
100-
return MainActor.assumeIsolated {
100+
MainActor.assumeIsolated {
101101
guard let windowScene = UIApplication.shared.connectedScenes.first(where: { $0.activationState == .foregroundActive }) as? UIWindowScene,
102102
let window = windowScene.windows.first(where: \.isKeyWindow)
103103
else {

0 commit comments

Comments
 (0)