Skip to content

Commit 49eee72

Browse files
author
Stephen Cobbe
committed
Fixed missed Reachability prefix.
1 parent d6e0012 commit 49eee72

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Source/ObjectiveDropboxOfficial/PlatformNeutral/Networking/DBReachability.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ typedef enum : NSInteger { DBNotReachable = 0, DBReachableViaWiFi, DBReachableVi
1515
#pragma mark IPv6 Support
1616
// Reachability fully support IPv6. For full details, see ReadMe.md.
1717

18-
extern NSString *kReachabilityChangedNotification;
18+
extern NSString *kDBReachabilityChangedNotification;
1919

2020
@interface DBReachability : NSObject
2121

Source/ObjectiveDropboxOfficial/PlatformNeutral/Networking/DBReachability.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#pragma mark IPv6 Support
2020
// DBReachability fully support IPv6. For full details, see ReadMe.md.
2121

22-
NSString *kReachabilityChangedNotification = @"kNetworkReachabilityChangedNotification";
22+
NSString *kDBReachabilityChangedNotification = @"kNetworkReachabilityChangedNotification";
2323

2424
#pragma mark - Supporting functions
2525

@@ -54,7 +54,7 @@ static void ReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkReach
5454

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

6060
#pragma mark - DBReachability implementation

0 commit comments

Comments
 (0)