- Fix response variable from getCurrentReachability
Summary: Fixes #3333 and #2802 Closes https://github.com/facebook/react-native/pull/3345 Reviewed By: @svcscm Differential Revision: D2530744 Pulled By: @vjeux fb-gh-sync-id: 521cbe482f3811339b21cf68ba2269d2b5286e82
This commit is contained in:
parent
720228825b
commit
53403423ca
|
@ -185,7 +185,7 @@ var NetInfo = {
|
|||
return new Promise((resolve, reject) => {
|
||||
RCTNetInfo.getCurrentReachability(
|
||||
function(resp) {
|
||||
resolve(resp.network_reachability);
|
||||
resolve(resp.network_info);
|
||||
},
|
||||
reject
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue