Skip to content

Commit

Permalink
Concurrency warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
borut-t committed Jan 22, 2025
1 parent a108b50 commit 5db7945
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/Apple/AppleAuthenticator+PovioKitAuth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import AuthenticationServices
import CryptoKit
import UIKit

extension UIViewController: ASAuthorizationControllerPresentationContextProviding {
extension UIViewController: @retroactive ASAuthorizationControllerPresentationContextProviding {
public func presentationAnchor(for controller: ASAuthorizationController) -> ASPresentationAnchor {
view.window ?? UIWindow()
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/LinkedIn/Core/URL+PovioKitAuth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import Foundation

extension URL: ExpressibleByStringLiteral {
extension URL: @retroactive ExpressibleByStringLiteral {
public init(stringLiteral value: String) {
guard let url = URL(string: value) else {
fatalError("Invalid URL string!")
Expand Down
2 changes: 1 addition & 1 deletion Sources/LinkedIn/WebView/LinkedInWebView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//

import SwiftUI
import WebKit
@preconcurrency import WebKit

@available(iOS 15.0, *)
public struct LinkedInWebView: UIViewRepresentable {
Expand Down

0 comments on commit 5db7945

Please sign in to comment.