Skip to content

Commit

Permalink
Remove use of Connection.none
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleymills committed Jun 19, 2019
1 parent 1889e4e commit 92c47e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Reachability.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
CA6187611F8D21D700FD5234 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = "<group>"; };
CA6187621F8D21D700FD5234 /* ReachabilitySwift.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = ReachabilitySwift.podspec; sourceTree = "<group>"; };
CA6187651F8D220200FD5234 /* CHANGELOG.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = CHANGELOG.md; sourceTree = "<group>"; };
CA66930222BACD5E001BB352 /* Package.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Package.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -229,6 +230,7 @@
AA7344681BE7678B008AFE69 = {
isa = PBXGroup;
children = (
CA66930222BACD5E001BB352 /* Package.swift */,
CA1983301F6FD0CD007D2DD1 /* README.md */,
CA6187651F8D220200FD5234 /* CHANGELOG.md */,
CA6187601F8D21D700FD5234 /* CONTRIBUTING.md */,
Expand Down
2 changes: 1 addition & 1 deletion Sources/Reachability.swift
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ extension SCNetworkReachabilityFlags {
#if targetEnvironment(simulator)
return .wifi
#else
var connection = Connection.none
var connection = Connection.unavailable

if !isConnectionRequiredFlagSet {
connection = .wifi
Expand Down

0 comments on commit 92c47e6

Please sign in to comment.