Skip to content

Commit 62661c9

Browse files
committed
update
1 parent d9be861 commit 62661c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/NetworkConnectivityKit/NetworkConnectivityKit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public extension NetworkConnectivityKit {
4949
/// Test connectivity using a single method.
5050
/// - Parameter method: ConnectivityMethod. Default is `appleCaptive`.
5151
/// - Returns: `true` if the method succeeds, `false` otherwise.
52-
static func checkConnectivity(using method: ConnectivityMethod = .appleCaptive) async -> Bool {
52+
static func checkConnectivity(using method: ConnectivityMethod) async -> Bool {
5353
let success = await method.performRequest()
5454
return success
5555
}

0 commit comments

Comments
 (0)