Skip to content

Commit

Permalink
Fixed missed Reachability prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Cobbe committed Sep 28, 2016
1 parent d6e0012 commit 49eee72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ typedef enum : NSInteger { DBNotReachable = 0, DBReachableViaWiFi, DBReachableVi
#pragma mark IPv6 Support
// Reachability fully support IPv6. For full details, see ReadMe.md.

extern NSString *kReachabilityChangedNotification;
extern NSString *kDBReachabilityChangedNotification;

@interface DBReachability : NSObject

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#pragma mark IPv6 Support
// DBReachability fully support IPv6. For full details, see ReadMe.md.

NSString *kReachabilityChangedNotification = @"kNetworkReachabilityChangedNotification";
NSString *kDBReachabilityChangedNotification = @"kNetworkReachabilityChangedNotification";

#pragma mark - Supporting functions

Expand Down Expand Up @@ -54,7 +54,7 @@ static void ReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReach

DBReachability *noteObject = (__bridge DBReachability *)info;
// Post a notification to notify the client that the network reachability changed.
[[NSNotificationCenter defaultCenter] postNotificationName:kReachabilityChangedNotification object:noteObject];
[[NSNotificationCenter defaultCenter] postNotificationName:kDBReachabilityChangedNotification object:noteObject];
}

#pragma mark - DBReachability implementation
Expand Down

0 comments on commit 49eee72

Please sign in to comment.