Skip to content

Commit 92c47e6

Browse files
committed
Remove use of Connection.none
1 parent 1889e4e commit 92c47e6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Reachability.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
CA6187611F8D21D700FD5234 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
132132
CA6187621F8D21D700FD5234 /* ReachabilitySwift.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = ReachabilitySwift.podspec; sourceTree = "<group>"; };
133133
CA6187651F8D220200FD5234 /* CHANGELOG.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = "<group>"; };
134+
CA66930222BACD5E001BB352 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
134135
/* End PBXFileReference section */
135136

136137
/* Begin PBXFrameworksBuildPhase section */
@@ -229,6 +230,7 @@
229230
AA7344681BE7678B008AFE69 = {
230231
isa = PBXGroup;
231232
children = (
233+
CA66930222BACD5E001BB352 /* Package.swift */,
232234
CA1983301F6FD0CD007D2DD1 /* README.md */,
233235
CA6187651F8D220200FD5234 /* CHANGELOG.md */,
234236
CA6187601F8D21D700FD5234 /* CONTRIBUTING.md */,

Sources/Reachability.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ extension SCNetworkReachabilityFlags {
291291
#if targetEnvironment(simulator)
292292
return .wifi
293293
#else
294-
var connection = Connection.none
294+
var connection = Connection.unavailable
295295

296296
if !isConnectionRequiredFlagSet {
297297
connection = .wifi

0 commit comments

Comments
 (0)