We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acfa573 commit ddc0764Copy full SHA for ddc0764
1 file changed
Sources/SwiftNextcloudUI/Modifiers/LoginSheet.swift
@@ -1,5 +1,5 @@
1
// SPDX-FileCopyrightText: Nextcloud GmbH
2
-// SPDX-FileCopyrightText: 2026 tdhooghe
+// SPDX-FileCopyrightText: 2025 tdhooghe
3
// SPDX-License-Identifier: GPL-3.0-or-later
4
5
import SwiftUI
@@ -97,7 +97,7 @@ extension View {
97
@MainActor
98
private class SessionCoordinator: NSObject, ASWebAuthenticationPresentationContextProviding {
99
nonisolated func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
100
- return MainActor.assumeIsolated {
+ MainActor.assumeIsolated {
101
guard let windowScene = UIApplication.shared.connectedScenes.first(where: { $0.activationState == .foregroundActive }) as? UIWindowScene,
102
let window = windowScene.windows.first(where: \.isKeyWindow)
103
else {
0 commit comments